Package com.csse3200.game.components.npc
Class EnemyAnimationController
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.npc.EnemyAnimationController
Generalised animation controller for enemies.
-
Field Summary
Fields -
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, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate, update
-
Field Details
-
RUNDOWN
- See Also:
-
RUNUP
- See Also:
-
RUNLEFT
- See Also:
-
RUNRIGHT
- See Also:
-
RUNLEFTUP
- See Also:
-
RUNRIGHTUP
- See Also:
-
RUNLEFTDOWN
- See Also:
-
RUNRIGHTDOWN
- See Also:
-
WAIT
- See Also:
-
PULL
- See Also:
-
-
Constructor Details
-
EnemyAnimationController
public EnemyAnimationController(boolean hasAngledAnimation) - Parameters:
hasAngledAnimation
- whether or not the animation has an angled (pointing to 45 degree) animation
-
-
Method Details