Logo Search packages:      
Sourcecode: fillets-ng version File versions

StateManager Class Reference

#include <StateManager.h>

Inheritance diagram for StateManager:


List of all members.

Detailed Description

Stack of states.

Definition at line 13 of file StateManager.h.

Public Member Functions

void changeState (GameState *who, GameState *new_state)
void popState (GameState *who)
void pushState (GameState *who, GameState *new_state)
void updateGame ()

Private Types

typedef std::list< GameState * > t_states

Private Member Functions

void checkStack ()
void emptyTrash ()
t_states::iterator findIter (GameState *who)
void insertAfter (GameState *who, GameState *new_state)
void installHandlers ()
void pauseBg (t_states::iterator stateIt)
void removeState (GameState *state)
void resumeBg (t_states::iterator stateIt)

Private Attributes

t_states m_states
t_states m_trash

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

Generated by  Doxygen 1.6.0   Back to index