Package com.deco2800.game.components.npc
Class EnemyAnimationController
java.lang.Object
com.deco2800.game.components.Component
com.deco2800.game.components.npc.EnemyAnimationController
public class EnemyAnimationController extends Component
This class listens to events relevant to a enemy entity's state and plays the animation when one
of the events is triggered.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EnemyAnimationController()
-
Method Summary
Modifier and Type Method Description void
create()
Called when the entity is created and registered.Methods inherited from class com.deco2800.game.components.Component
dispose, earlyUpdate, getEntity, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate, update
-
Constructor Details
-
EnemyAnimationController
public EnemyAnimationController()
-
-
Method Details