Class BackstoryCutscene
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.cutscenes.Cutscene
com.csse3200.game.components.cutscenes.BackstoryCutscene
Specific cutscene class handling the backstory of the game.
-
Field Summary
Fields inherited from class com.csse3200.game.components.cutscenes.Cutscene
animatedScenes, animations, animName, currentAnimatedScene, currentScene, currentSceneIndex, currentText, cutsceneText, entities, gameTime, images, isAnimatedScenes, scenes, textIndex, textures, timeStart
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Handles specific entity creation logic for the backstory cutscene.protected void
Loads the assets needed for the backstory cutscene, including textures for backgrounds.protected void
Sets up the scenes for the backstory cutscene, including background images, animations, and the corresponding text for each scene.Methods inherited from class com.csse3200.game.components.cutscenes.Cutscene
create, createEntitiesForScene, createEntitiesForScene, dispose, disposeEntities, getAnimations, getCurrentSceneIndex, getImages, getScenes, getTextures, getTimeStart, isAtEnd, isCompleted, loadAssetsForScene, loadAssetsForScene, loadScene, nextCutscene, nextCutsceneMoral, setAnimations, setCurrentScene, setImages, setScenes, setTextForScene, setTextForSceneMoral, setTextures, setTimeStart, start, unloadAssets, update
Methods inherited from class com.csse3200.game.components.Component
earlyUpdate, getEntity, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate
-
Constructor Details
-
BackstoryCutscene
public BackstoryCutscene()Constructor for BackstoryCutscene.
-
-
Method Details
-
setupScenes
protected void setupScenes()Sets up the scenes for the backstory cutscene, including background images, animations, and the corresponding text for each scene.- Specified by:
setupScenes
in classCutscene
-
loadAssets
protected void loadAssets()Loads the assets needed for the backstory cutscene, including textures for backgrounds.- Specified by:
loadAssets
in classCutscene
-
createEntities
public void createEntities()Handles specific entity creation logic for the backstory cutscene. Currently, there is no specific logic for creating entities.- Specified by:
createEntities
in classCutscene
-