Package com.deco2800.game.components.npc
Class GhostAnimationController
java.lang.Object
com.deco2800.game.components.Component
com.deco2800.game.components.npc.GhostAnimationController
This class listens to events relevant to a ghost entity's state and plays the animation when one
of the events is triggered.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
GhostAnimationController
public GhostAnimationController()
-
-
Method Details