Class Cutscene
java.lang.Object
com.csse3200.game.missions.cutscenes.Cutscene
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Represents what type if cutscene the cutscene will be -
Constructor Summary
ConstructorsConstructorDescriptionCutscene
(String dialogue, Cutscene.CutsceneType cutsceneType) Creates an instance of the cutscene class and assigns all variables as they need to be assigned - DOES NOT SPAWN THE ACTUAL CUTSCENE -
Method Summary
Modifier and TypeMethodDescriptionvoid
Tears down the cutscenevoid
Creates the whole cutscene - to call other methods below this method
-
Constructor Details
-
Cutscene
Creates an instance of the cutscene class and assigns all variables as they need to be assigned - DOES NOT SPAWN THE ACTUAL CUTSCENE- Parameters:
dialogue
- - the dialogue to be displayed in the cutscene
-
-
Method Details
-
spawnCutscene
public void spawnCutscene()Creates the whole cutscene - to call other methods below this method -
endCutscene
public void endCutscene()Tears down the cutscene
-