public function setLocation(Location $pos) { if ($this->closed) { return false; } $this->setPositionAndRotation($pos, $pos->yaw, $pos->pitch); return true; }