Class CutsceneArea

java.lang.Object
com.csse3200.game.areas.GameArea
com.csse3200.game.components.cutscenes.CutsceneArea
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable

public class CutsceneArea extends GameArea
Manages a cutscene area in the game. Handles the creation, updating, and disposal of cutscenes, and ensures that transitions occur once cutscenes are completed.
  • Constructor Details

    • CutsceneArea

      public CutsceneArea(GdxGame.CutsceneType cutsceneValue)
      Constructor for the CutsceneArea. It registers the game area as well as sets the value for the cutscene to load
      Parameters:
      cutsceneValue - An integer representing the specific cutscene to load.
  • Method Details

    • create

      public void create()
      Creates the cutscene based on the provided cutsceneValue and starts the cutscene.
      Specified by:
      create in class GameArea