Package com.csse3200.game.components.npc
Class GhostAnimationController
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.npc.GhostAnimationController
- All Implemented Interfaces:
com.badlogic.gdx.utils.Json.Serializable
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.csse3200.game.components.Component
dispose, earlyUpdate, getEntity, read, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate, update, write
-
Constructor Details
-
GhostAnimationController
public GhostAnimationController()
-
-
Method Details