Basic engine state for when the game is saved.
More...
#include <SaveGame.hpp>
|
virtual | ~SaveGame ()=default |
| Destroy the Save Game state. More...
|
|
virtual const char * | name () const override |
| Returns "SaveGame". More...
|
|
virtual void | activate (bl::engine::Engine &engine) override |
| Activates the state. More...
|
|
virtual void | deactivate (bl::engine::Engine &engine) override |
| Deactivates the state. More...
|
|
virtual void | update (bl::engine::Engine &engine, float dt, float) override |
| Updates the state and menus and whatnot. More...
|
|
Basic engine state for when the game is saved.
Definition at line 16 of file SaveGame.hpp.
◆ ~SaveGame()
virtual game::state::SaveGame::~SaveGame |
( |
| ) |
|
|
virtualdefault |
Destroy the Save Game state.
◆ activate()
void game::state::SaveGame::activate |
( |
bl::engine::Engine & |
engine | ) |
|
|
overridevirtual |
◆ create()
Creates the save game state.
- Parameters
-
systems | The primary systems object |
- Returns
- bl::engine::State::Ptr The new state
Definition at line 11 of file SaveGame.cpp.
◆ deactivate()
void game::state::SaveGame::deactivate |
( |
bl::engine::Engine & |
engine | ) |
|
|
overridevirtual |
◆ name()
const char * game::state::SaveGame::name |
( |
| ) |
const |
|
overridevirtual |
◆ update()
void game::state::SaveGame::update |
( |
bl::engine::Engine & |
engine, |
|
|
float |
dt, |
|
|
float |
|
|
) |
| |
|
overridevirtual |
Updates the state and menus and whatnot.
- Parameters
-
engine | The game engine |
dt | Time elapsed in seconds |
Implements game::state::State.
Definition at line 40 of file SaveGame.cpp.
◆ systems
The documentation for this class was generated from the following files: