Class Day2Cutscene
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.cutscenes.Cutscene
com.csse3200.game.components.cutscenes.Day2Cutscene
-
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 intro cutscene.protected void
Loads the assets needed for the intro cutscene, including textures for backgrounds and animations.protected void
Sets 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, update
Methods inherited from class com.csse3200.game.components.Component
earlyUpdate, getEntity, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate
-
Constructor Details
-
Day2Cutscene
public Day2Cutscene()Constructor for the IntroCutscene 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:
setupScenes
in classCutscene
-
loadAssets
protected void loadAssets()Loads the assets needed for the intro cutscene, including textures for backgrounds and animations.- Specified by:
loadAssets
in 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:
createEntities
in classCutscene
-