Class Boss2AnimationController

java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.npc.Boss2AnimationController

public class Boss2AnimationController extends Component
  • 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

    • create

      public void create()
      Description copied from class: Component
      Called when the entity is created and registered. Initial logic such as calls to GetComponent should be made here, not in the constructor which is called before an entity is finished.
      Overrides:
      create in class Component