Class CutsceneArea
java.lang.Object
com.csse3200.game.areas.GameArea
com.csse3200.game.components.cutscenes.CutsceneArea
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
Manages a cutscene area in the game. Handles the creation, updating,
and disposal of cutscenes, and ensures that transitions occur once cutscenes are completed.
-
Field Summary
Fields inherited from class com.csse3200.game.areas.GameArea
areaEntities, terrain
-
Constructor Summary
ConstructorsConstructorDescriptionCutsceneArea
(GdxGame.CutsceneType cutsceneValue) Constructor for the CutsceneArea. -
Method Summary
Modifier and TypeMethodDescriptionvoid
create()
Creates the cutscene based on the provided cutsceneValue and starts the cutscene.Methods inherited from class com.csse3200.game.areas.GameArea
dispose, spawnEntity, spawnEntityAt, spawnFlame
-
Constructor Details
-
CutsceneArea
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