public function getOppositeDirection() : int { return $this->getOppositeSide($this->getDirection()); }