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