Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
game::state::FlyMap Class Reference

Engine state for the fly map. More...

#include <FlyMap.hpp>

+ Inheritance diagram for game::state::FlyMap:

Public Member Functions

virtual ~FlyMap ()=default
 Destroy the FlyMap state. More...
 
virtual const char * name () const override
 Returns "FlyMap". 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...
 

Static Public Member Functions

static bl::engine::State::Ptr create (core::system::Systems &systems, bool &unpause)
 Creates the fly map state. More...
 

Protected Attributes

core::system::Systemssystems
 

Detailed Description

Engine state for the fly map.

Definition at line 20 of file FlyMap.hpp.

Constructor & Destructor Documentation

◆ ~FlyMap()

virtual game::state::FlyMap::~FlyMap ( )
virtualdefault

Destroy the FlyMap state.

Member Function Documentation

◆ activate()

void game::state::FlyMap::activate ( bl::engine::Engine &  engine)
overridevirtual

Activates the state.

Parameters
engineThe game engine

Implements game::state::State.

Definition at line 114 of file FlyMap.cpp.

◆ create()

bl::engine::State::Ptr game::state::FlyMap::create ( core::system::Systems systems,
bool &  unpause 
)
static

Creates the fly map state.

Parameters
systemsThe primary systems object
unpauseBoolean param to set if the pause menu should close after this closes
Returns
bl::engine::State::Ptr The new state

Definition at line 17 of file FlyMap.cpp.

◆ deactivate()

void game::state::FlyMap::deactivate ( bl::engine::Engine &  engine)
overridevirtual

Deactivates the state.

Parameters
engineThe game engine

Implements game::state::State.

Definition at line 131 of file FlyMap.cpp.

◆ name()

const char * game::state::FlyMap::name ( ) const
overridevirtual

Returns "FlyMap".

Implements game::state::State.

Definition at line 112 of file FlyMap.cpp.

◆ update()

void game::state::FlyMap::update ( bl::engine::Engine &  engine,
float  dt,
float   
)
overridevirtual

Updates the state and menus and whatnot.

Parameters
engineThe game engine
dtTime elapsed in seconds

Implements game::state::State.

Definition at line 136 of file FlyMap.cpp.

Member Data Documentation

◆ systems

core::system::Systems& game::state::State::systems
protectedinherited

Definition at line 66 of file State.hpp.


The documentation for this class was generated from the following files: