CDrawGame Class Reference

The Draw Game screen that appears after there is a draw game in a match. More...

#include <CDrawGame.h>

Inheritance diagram for CDrawGame:

Inheritance graph
[legend]
Collaboration diagram for CDrawGame:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CDrawGame ()
 Constructor. Initialize some members.
virtual ~CDrawGame ()
 Destructor. Does nothing.
void SetScores (CScores *pScores)
 Set link to the scores object to use.
void Create (void)
 Initialize the object.
void Destroy (void)
 Uninitialize the object.
void OpenInput (void)
 Get access to the input this object needs.
void CloseInput (void)
 Release access to the input this object needs.
EGameMode Update (void)
 Update the object and return which game mode should be set.
void Display (void)
 Display on the screen.

Private Attributes

CScoresm_pScores
 Link to the scores object to use.
float m_FlagTimer
 Timer for flag animation.
float m_BigFumeTimer
 Timer for the big fume animation.
float m_SmallFumeTimer
 Timer for the small fume animation.
int m_FlagSprite
 Flag sprite to draw.
int m_BigFumeSprite
 Big fume sprite to draw.
int m_SmallFumeSprite
 Small fume sprite to draw.
float m_ModeTime
 Time elapsed since the mode has started.
bool m_HaveToExit
 Do we have to exit this mode?
float m_ExitModeTime
 Mode time when we realized we have to exit (used for blackscreen).
bool m_PlayedSound
 Did we start playing the draw game sound?


Detailed Description

The Draw Game screen that appears after there is a draw game in a match.

Constructor & Destructor Documentation

CDrawGame::CDrawGame ( void   ) 

Constructor. Initialize some members.

CDrawGame::~CDrawGame ( void   )  [virtual]

Destructor. Does nothing.


Member Function Documentation

void CDrawGame::SetScores ( CScores pScores  )  [inline]

Set link to the scores object to use.

Here is the caller graph for this function:

void CDrawGame::Create ( void   )  [virtual]

Initialize the object.

Reimplemented from CModeScreen.

Here is the call graph for this function:

void CDrawGame::Destroy ( void   )  [virtual]

Uninitialize the object.

Reimplemented from CModeScreen.

Here is the call graph for this function:

void CDrawGame::OpenInput ( void   )  [virtual]

Get access to the input this object needs.

Implements CModeScreen.

Here is the call graph for this function:

void CDrawGame::CloseInput ( void   )  [virtual]

Release access to the input this object needs.

Implements CModeScreen.

Here is the call graph for this function:

EGameMode CDrawGame::Update ( void   )  [virtual]

Update the object and return which game mode should be set.

Implements CModeScreen.

Here is the call graph for this function:

void CDrawGame::Display ( void   )  [virtual]

Display on the screen.

Implements CModeScreen.

Here is the call graph for this function:


Member Data Documentation

Link to the scores object to use.

float CDrawGame::m_FlagTimer [private]

Timer for flag animation.

float CDrawGame::m_BigFumeTimer [private]

Timer for the big fume animation.

float CDrawGame::m_SmallFumeTimer [private]

Timer for the small fume animation.

int CDrawGame::m_FlagSprite [private]

Flag sprite to draw.

Big fume sprite to draw.

Small fume sprite to draw.

float CDrawGame::m_ModeTime [private]

Time elapsed since the mode has started.

bool CDrawGame::m_HaveToExit [private]

Do we have to exit this mode?

float CDrawGame::m_ExitModeTime [private]

Mode time when we realized we have to exit (used for blackscreen).

bool CDrawGame::m_PlayedSound [private]

Did we start playing the draw game sound?


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

Generated on Sat Oct 18 12:26:44 2008 for Bombermaaan by  doxygen 1.5.5
Visit the Bombermaaan project page
SourceForge.net Logo