concrete state class More...
#include <StateStart.h>
Inherits State, and Singleton< StateStart >.

Public Member Functions | |
| ~StateStart () | |
| void | setGameContext (GameContext *gameContext) |
Protected Member Functions | |
| virtual void | doPrint () |
| virtual void | doGetKey () |
Friends | |
| class | Singleton< StateStart > |
concrete state class
This class is a concrete implementation of State.h and a Singleton.h. Represent the start state. Only this state can set the game context defined in GameContext.h.
Definition at line 10 of file StateStart.h.
| StateStart::~StateStart | ( | ) |
| void StateStart::doGetKey | ( | ) | [protected, virtual] |
Use this Methode to get an input information. You have to override.
Implements State.
Definition at line 25 of file StateStart.cpp.

| void StateStart::doPrint | ( | ) | [protected, virtual] |
Use this Methode to print state information. You have to override.
Implements State.
Definition at line 19 of file StateStart.cpp.

| void StateStart::setGameContext | ( | GameContext * | gameContext | ) |
Set the GameContext for all other states
Definition at line 15 of file StateStart.cpp.

friend class Singleton< StateStart > [friend] |
Definition at line 11 of file StateStart.h.
1.6.1