Package com.csse3200.game.components.npc
Class Boss2AnimationController
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.npc.Boss2AnimationController
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionUse default names (idle/patrol/prep/charge/return/cooldown/death/hurt) and default speeds.Boss2AnimationController
(Boss2AnimationController.Names names, Boss2AnimationController.Speeds speeds, com.badlogic.gdx.graphics.g2d.Animation.PlayMode loopMode) Fully custom names and speeds.Boss2AnimationController
(String baseName, float frameDur, com.badlogic.gdx.graphics.g2d.Animation.PlayMode mode) -
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, getPrio, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate, update
-
Constructor Details
-
Boss2AnimationController
public Boss2AnimationController()Use default names (idle/patrol/prep/charge/return/cooldown/death/hurt) and default speeds. -
Boss2AnimationController
public Boss2AnimationController(Boss2AnimationController.Names names, Boss2AnimationController.Speeds speeds, com.badlogic.gdx.graphics.g2d.Animation.PlayMode loopMode) Fully custom names and speeds. Set any name to null to disable that animation. -
Boss2AnimationController
public Boss2AnimationController(String baseName, float frameDur, com.badlogic.gdx.graphics.g2d.Animation.PlayMode mode)
-
-
Method Details