Debug only state that allows free roaming the map with a special camera.
More...
#include <MapExplorer.hpp>
|
virtual | ~MapExplorer ()=default |
| Destroy the Map Explorer state. More...
|
|
virtual const char * | name () const override |
| Returns "MapExplorer". More...
|
|
virtual void | activate (bl::engine::Engine &engine) override |
| Activates the state and camera. Disconnects the player from their entity. More...
|
|
virtual void | deactivate (bl::engine::Engine &engine) override |
| Reconnects the player to their entity and pops the camera. More...
|
|
virtual void | update (bl::engine::Engine &engine, float dt, float) override |
| Updates the game world logic and the hint fadeout. More...
|
|
Debug only state that allows free roaming the map with a special camera.
Definition at line 18 of file MapExplorer.hpp.
◆ ~MapExplorer()
virtual game::state::MapExplorer::~MapExplorer |
( |
| ) |
|
|
virtualdefault |
Destroy the Map Explorer state.
◆ activate()
void game::state::MapExplorer::activate |
( |
bl::engine::Engine & |
engine | ) |
|
|
overridevirtual |
◆ create()
Creates a new MapExplorer state.
- Parameters
-
systems | The primary systems object |
- Returns
- bl::engine::State::Ptr The new state
Definition at line 54 of file MapExplorer.cpp.
◆ deactivate()
void game::state::MapExplorer::deactivate |
( |
bl::engine::Engine & |
engine | ) |
|
|
overridevirtual |
◆ name()
const char * game::state::MapExplorer::name |
( |
| ) |
const |
|
overridevirtual |
◆ update()
void game::state::MapExplorer::update |
( |
bl::engine::Engine & |
engine, |
|
|
float |
dt, |
|
|
float |
|
|
) |
| |
|
overridevirtual |
Updates the game world logic and the hint fadeout.
- Parameters
-
engine | The game engine |
dt | Time elapsed in seconds |
Implements game::state::State.
Definition at line 99 of file MapExplorer.cpp.
◆ systems
The documentation for this class was generated from the following files: