Class TowerAnimationController

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

public class TowerAnimationController extends Component
Listens for events relevant to a weapon tower state. Each event will trigger a certain animation
  • Constructor Details

    • TowerAnimationController

      public TowerAnimationController()
  • Method Details

    • create

      public void create()
      Creation call for a TowerAnimationController, 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