player = $player; } public function isFlying() : bool{ return $this->isFlying; } }