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

The peopledex menu state. More...

#include <Peopledex.hpp>

+ Inheritance diagram for game::state::Peopledex:

Public Member Functions

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

Protected Attributes

core::system::Systemssystems
 

Detailed Description

The peopledex menu state.

Definition at line 18 of file Peopledex.hpp.

Constructor & Destructor Documentation

◆ ~Peopledex()

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

Destroy the Peopledex object.

Member Function Documentation

◆ activate()

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

Activates the state.

Parameters
engineThe game engine

Implements game::state::State.

Definition at line 122 of file Peopledex.cpp.

◆ create()

bl::engine::State::Ptr game::state::Peopledex::create ( core::system::Systems systems)
static

Create a new Peopledex state.

Parameters
systemsThe main game systems
Returns
bl::engine::State::Ptr The new game state

Definition at line 29 of file Peopledex.cpp.

◆ deactivate()

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

Deactivates the state.

Parameters
engineThe game engine

Implements game::state::State.

Definition at line 140 of file Peopledex.cpp.

◆ name()

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

Returns "Peopledex".

Implements game::state::State.

Definition at line 120 of file Peopledex.cpp.

◆ update()

void game::state::Peopledex::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 145 of file Peopledex.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: