Class DroidAnimationController
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.tower.DroidAnimationController
This class listens to events relevant to DroidTower entity's state and plays the animation when one
of the events is triggered.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create()
Creation call for a DroidAnimationController, fetches the animationRenderComponent that this controller will be attached to and registers all the event listeners required to trigger the animations and sounds.Methods inherited from class com.csse3200.game.components.Component
dispose, earlyUpdate, getEntity, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate, update
-
Constructor Details
-
DroidAnimationController
public DroidAnimationController()
-
-
Method Details