The State class operates within a StateManager to break a program into smaller units of operation.
More...
#include <StateManager.h>
List of all members.
Detailed Description
The State class operates within a StateManager to break a program into smaller units of operation.
- Note:
- The State class has three functions: 'initialize()', 'finalize()' and 'upate()' that must be overloaded in order for the State to function properly.
Member Function Documentation
| virtual void State::finalize |
( |
|
) |
[protected, pure virtual] |
| virtual void State::initialize |
( |
|
) |
[protected, pure virtual] |
| void State::initializeUtilities |
( |
Gui * |
gui |
) |
|
Sets any global state utility objects.
- Parameters:
-
| renderer | A pointer to a Renderer Class. |
| mixer | A pointer to a Mixer Class. |
| gui | A pointer to a Gui Class. |
| virtual void State::push |
( |
Event * |
event |
) |
[protected, pure virtual] |
| virtual State* State::update |
( |
|
) |
[protected, pure virtual] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: