|
Bomberman
|
#include <Runner.hpp>
Static Public Member Functions | |
| static int | run () |
| Start the game and run a Bomberman. More... | |
| static void | updateState (WAL::Wal &engine, GameState &state) |
| Update current scene (loading related data) according to state. More... | |
| static void | addSystems (WAL::Wal &wal) |
| Add required systems to wal. More... | |
| static void | enableRaylib (WAL::Wal &wal) |
| init all raylib-related data & context More... | |
| static void | addMenuControl (WAL::Scene &scene, const std::map< SoundComponent::SoundIndex, std::string > &sounds={}) |
| static std::shared_ptr< WAL::Scene > | loadTitleScreenScene () |
| load all data related to title screen More... | |
| static std::shared_ptr< WAL::Scene > | loadMainMenuScene () |
| load all data related to main menu screen More... | |
| static std::shared_ptr< WAL::Scene > | loadPauseMenuScene () |
| load all data related to pause menu screen More... | |
| static std::shared_ptr< WAL::Scene > | loadSettingsMenuScene () |
| load all data related to settings screen More... | |
| static std::shared_ptr< WAL::Scene > | loadGameScene () |
| load all data related to game screen More... | |
| static std::shared_ptr< WAL::Scene > | loadCreditScene () |
| load all data related to credit screen More... | |
| static std::shared_ptr< WAL::Scene > | loadLobbyScene () |
| load all data related to lobby screen More... | |
| static std::shared_ptr< WAL::Scene > | loadResumeLobbyScene () |
| load all data related to resume lobby screen More... | |
| static WAL::Entity & | createPlayer (WAL::Scene &scene) |
| Create a player (without any controllable) and add it to the scene. More... | |
| static std::shared_ptr< WAL::Scene > | loadSplashScreenScene () |
| load all data related to splash screen More... | |
| static std::shared_ptr< WAL::Scene > | loadHowToPlayScene () |
| load how to play screen More... | |
| static std::shared_ptr< WAL::Scene > | loadScoreScene (WAL::Scene &gameScene) |
| load all data related to score scene screen More... | |
| static void | loadScenes () |
| loads all scenes in the game state More... | |
Static Public Attributes | |
| static bool | hasHeights = false |
| Has the map heights or is it disabled? More... | |
| static int | mapWidth = 16 |
| the width of the map More... | |
| static int | mapHeight = 16 |
| the height of the map More... | |
| static std::chrono::nanoseconds | timerDelay = std::chrono::minutes(3) |
| timer duration More... | |
| static GameState | gameState |
| store current scenes informations More... | |
|
static |
|
static |
Add required systems to wal.
|
static |
Create a player (without any controllable) and add it to the scene.
| scene | The scene where to player should reside. |
|
static |
init all raylib-related data & context
|
static |
load all data related to credit screen
|
static |
load all data related to game screen
|
static |
load how to play screen
|
static |
load all data related to lobby screen
|
static |
load all data related to main menu screen
|
static |
load all data related to pause menu screen
|
static |
load all data related to resume lobby screen
|
static |
loads all scenes in the game state
|
static |
load all data related to score scene screen
| gameScene | scene containing players (to know the scores) |
|
static |
load all data related to settings screen
|
static |
load all data related to splash screen
|
static |
load all data related to title screen
|
static |
Start the game and run a Bomberman.
Update current scene (loading related data) according to state.
| engine | Wal ECS |
| state | current game state |
|
static |
store current scenes informations
|
static |
Has the map heights or is it disabled?
|
static |
the height of the map
|
static |
the width of the map
|
static |
timer duration
1.8.17