Block: added a bunch of state manipulation APIs

This commit is contained in:
Dylan K. Taylor
2020-11-03 19:13:32 +00:00
parent 0a8dc3edd3
commit 32929925aa
30 changed files with 374 additions and 0 deletions

View File

@@ -82,6 +82,15 @@ trait PillarRotationTrait{
][$this->axis] << $this->getAxisMetaShift();
}
/** @see Axis */
public function getAxis() : int{ return $this->axis; }
/** @return $this */
public function setAxis(int $axis) : self{
$this->axis = $axis;
return $this;
}
/**
* @see Block::place()
*/