- nom
- GameStates
(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. | |
(FSM) States management
Definition at line 44 of file GameStates.hpp.