Go to the documentation of this file.
8 #include <unordered_map>
45 std::unordered_map<SceneID, std::shared_ptr<WAL::Scene>>
loadedScenes = {};
@ ScoreScene
Definition: GameState.hpp:31
@ GameScene
Definition: GameState.hpp:23
std::unordered_map< SceneID, std::shared_ptr< WAL::Scene > > loadedScenes
The list of loaded scenes.
Definition: GameState.hpp:45
SceneID nextScene
The next scene to load (if smae as currentScene, nothing to do)
Definition: GameState.hpp:42
@ ResumeLobbyScene
Definition: GameState.hpp:27
Definition: AnimationsComponent.cpp:9
@ HowToPlayScene
Definition: GameState.hpp:30
@ TitleScreenScene
Definition: GameState.hpp:28
@ PauseMenuScene
Definition: GameState.hpp:25
SceneID previousScene
The scene before the actual one. Used for back buttons.
Definition: GameState.hpp:36
SceneID
The list of scenes available.
Definition: GameState.hpp:19
@ MainMenuScene
Definition: GameState.hpp:22
@ SettingsScene
Definition: GameState.hpp:24
@ SplashScreen
Definition: GameState.hpp:21
SceneID currentScene
The currently loaded scene.
Definition: GameState.hpp:39
@ LobbyScene
Definition: GameState.hpp:26
@ CreditScene
Definition: GameState.hpp:29
A class representing the current game state. This allow one to retain information between update call...
Definition: GameState.hpp:15