|
Bomberman
|
A class representing the current game state. This allow one to retain information between update calls. More...
#include <GameState.hpp>
Public Types | |
| enum | SceneID { SplashScreen, MainMenuScene, GameScene, SettingsScene, PauseMenuScene, LobbyScene, ResumeLobbyScene, TitleScreenScene, CreditScene, HowToPlayScene, ScoreScene } |
| The list of scenes available. More... | |
Public Attributes | |
| SceneID | previousScene = SplashScreen |
| The scene before the actual one. Used for back buttons. More... | |
| SceneID | currentScene = SplashScreen |
| The currently loaded scene. More... | |
| SceneID | nextScene = SplashScreen |
| The next scene to load (if smae as currentScene, nothing to do) More... | |
| std::unordered_map< SceneID, std::shared_ptr< WAL::Scene > > | loadedScenes = {} |
| The list of loaded scenes. More... | |
A class representing the current game state. This allow one to retain information between update calls.
| SceneID BBM::GameState::currentScene = SplashScreen |
The currently loaded scene.
| std::unordered_map<SceneID, std::shared_ptr<WAL::Scene> > BBM::GameState::loadedScenes = {} |
The list of loaded scenes.
| SceneID BBM::GameState::nextScene = SplashScreen |
The next scene to load (if smae as currentScene, nothing to do)
| SceneID BBM::GameState::previousScene = SplashScreen |
The scene before the actual one. Used for back buttons.
1.8.17