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