player = $player; $this->animationType = $animation; } /** * @return int */ public function getAnimationType() : int{ return $this->animationType; } }