previousSpawn = $previousSpawn; } /** * @return Position */ public function getPreviousSpawn(){ return $this->previousSpawn; } }