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