Class LoseCutscene
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.cutscenes.Cutscene
com.csse3200.game.components.cutscenes.LoseCutscene
The IntroCutscene class represents a specific cutscene that plays at the start of the game.
It defines the scenes, assets, and entities used during the intro cutscene.
-
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 TypeMethodDescriptionvoidHandles specific entity creation logic for the intro cutscene.protected voidLoads the assets needed for the intro cutscene, including textures for backgrounds and animations.protected voidSets up the scenes for the intro cutscene, including background images, animation images, 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, updateMethods inherited from class com.csse3200.game.components.Component
earlyUpdate, getEntity, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate
-
Constructor Details
-
LoseCutscene
public LoseCutscene()Constructor for the GoodEndCutscene class.
-
-
Method Details
-
setupScenes
protected void setupScenes()Sets up the scenes for the intro cutscene, including background images, animation images, and the corresponding text for each scene.- Specified by:
setupScenesin classCutscene
-
loadAssets
protected void loadAssets()Loads the assets needed for the intro cutscene, including textures for backgrounds and animations.- Specified by:
loadAssetsin classCutscene
-
createEntities
public void createEntities()Handles specific entity creation logic for the intro cutscene. Currently, there is no specific logic for creating entities.- Specified by:
createEntitiesin classCutscene
-