Class RicochetTowerAnimationController

java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.tower.RicochetTowerAnimationController

public class RicochetTowerAnimationController extends Component
This class listens to events relevant to DroidTower entity's state and plays the animation when one of the events is triggered.
  • Constructor Details

    • RicochetTowerAnimationController

      public RicochetTowerAnimationController()
  • Method Details

    • create

      public void 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.
      Overrides:
      create in class Component