Public Types | Static Public Member Functions | Static Public Attributes | List of all members
nom::GameStates Class Reference

(FSM) States management More...

#include <GameStates.hpp>

Public Types

typedef SDL_Event EventType
 

Static Public Member Functions

static void onEvent (EventType *)
 State events handling.
 
static void update (float)
 State logic.
 
static void draw (IDrawable::RenderTarget)
 State rendering.
 
static void ChangeState (std::unique_ptr< IState > state)
 State management.
 
static void PushState (std::unique_ptr< IState > state)
 
static void PopState (void)
 
static void PopStateThenChangeState (std::unique_ptr< IState > state)
 
static void PopState (int32 response)
 

Static Public Attributes

static std::vector
< std::unique_ptr< IState > > 
states
 States stack; we hold pointer references to IState inherited classes.
 

Detailed Description

(FSM) States management

Definition at line 44 of file GameStates.hpp.


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