Class CutsceneTickComponent

java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.cutscene.runtime.components.CutsceneTickComponent

public class CutsceneTickComponent extends Component
  • Constructor Details

    • CutsceneTickComponent

      public CutsceneTickComponent(CutsceneOrchestrator orchestrator)
      Create a tick component with a cutscene orchestrator
      Parameters:
      orchestrator - The orchestrator that is being ticked
  • Method Details

    • update

      public void update()
      Called once per frame of the game, and should be used for most component logic. Not called if component is disabled.

      Runs the orchestrator update function, disposes of entity if orchestrator is no longer running

      Overrides:
      update in class Component