Class PlayerSkillAnimationController
java.lang.Object
com.deco2800.game.components.Component
com.deco2800.game.components.player.PlayerSkillAnimationController
The controller for the player skill animator. This controller locks the player skill animator
to overlay the player entity and also uses event listeners to control the animation
of the skills overlay.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerSkillAnimationController
(Entity playerEntity) Creates a player skill animation controller with the joined player entity with which the animation controller overlays. -
Method Summary
Methods inherited from class com.deco2800.game.components.Component
dispose, earlyUpdate, getEntity, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate
-
Constructor Details
-
PlayerSkillAnimationController
Creates a player skill animation controller with the joined player entity with which the animation controller overlays.- Parameters:
playerEntity
- the player entity which the skill animation controller overlays
-
-
Method Details