Class PlayerKPAnimationController
java.lang.Object
com.deco2800.game.components.Component
com.deco2800.game.components.player.PlayerKPAnimationController
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
ConstructorsConstructorDescriptionPlayerKPAnimationController
(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
-
PlayerKPAnimationController
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