StateStart Class Reference

concrete state class More...

#include <StateStart.h>

Inherits State, and Singleton< StateStart >.

Collaboration diagram for StateStart:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~StateStart ()
void setGameContext (GameContext *gameContext)

Protected Member Functions

virtual void doPrint ()
virtual void doGetKey ()

Friends

class Singleton< StateStart >

Detailed Description

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.


Constructor & Destructor Documentation

StateStart::~StateStart (  ) 

Definition at line 10 of file StateStart.cpp.

Here is the call graph for this function:


Member Function Documentation

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

void StateStart::setGameContext ( GameContext gameContext  ) 

Set the GameContext for all other states

Definition at line 15 of file StateStart.cpp.

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class Singleton< StateStart > [friend]

Definition at line 11 of file StateStart.h.


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

Generated on Sat Oct 10 03:29:20 2009 for Hangman by  doxygen 1.6.1