SPACE::Core::sState Struct Reference

Saves a State Used by: cStateManager. More...

#include <sState.hpp>

List of all members.

Public Member Functions

 sState ()
 ~sState ()

Public Attributes

sStatem_pPrev
void(* m_pFunction )(ePurpose _Purpose)

Detailed Description

Saves a State Used by: cStateManager.

A State consits of a pointer to the previous state and a pointer to a function, which is handles the states logic. The function takes the purpose of the calling as a parameter.

See also:
SPACE::Core::cStateManager

Constructor & Destructor Documentation

SPACE::Core::sState::sState (  )  [inline]

Init the variables value

SPACE::Core::sState::~sState (  )  [inline]

Deletes the Previous State, so that every state is going down if something went wrong


Member Data Documentation

the pointer to the function that runs if the state is called

the pointer to the previous State


The documentation for this struct was generated from the following file:
Generated on Wed Apr 7 17:20:25 2010 for SPACE Engine by  doxygen 1.6.3