CWinner Class Reference

The winner (scoreboard) screen that appears after a player has won one battle. More...

#include <CWinner.h>

Inheritance diagram for CWinner:

Inheritance graph
[legend]
Collaboration diagram for CWinner:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CWinner ()
 Constructor. Initialize some members.
virtual ~CWinner ()
 Destructor. Does nothing.
void SetScores (CScores *pScores)
 Set link to the scores object to use.
void SetMatch (CMatch *pMatch)
 Set link to the match 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 what game mode should be set.
void Display (void)
 Display on the screen.

Private Attributes

CScoresm_pScores
 Link to the scores object to use.
CMatchm_pMatch
 Link to the match object to use.
float m_LightsTimer
 Lights animation timer.
float m_HappyBomberTimer
 Happy bomber animation timer.
float m_SadBomberTimer
 Sad bomber animation timer.
int m_LightSpriteOffset
 Sprite offset to use to switch light colors.
int m_HappyBomberSpriteOffset
 Sprite offset to use to have a happy bomber.
int m_SadBomberSpriteOffset
 Sprite offset to use to have a sad bomber.
bool m_PlayedSound
 Did we start playing the victory sound?
CMosaicm_pMosaic
float m_ModeTime
 Time (in seconds) that elapsed since the mode has started.
float m_ExitModeTime
 Mode time when we have to start the last black screen.
float m_CoinTime
 Time that elapsed for the current coin sprite.
int m_CoinSpriteOffset
 Sprite offset of the coin.
int m_ExitGameMode
 Game mode to ask for when exiting.
bool m_HaveToExit
 Do we have to exit this mode?


Detailed Description

The winner (scoreboard) screen that appears after a player has won one battle.

Constructor & Destructor Documentation

CWinner::CWinner ( void   ) 

Constructor. Initialize some members.

CWinner::~CWinner ( void   )  [virtual]

Destructor. Does nothing.


Member Function Documentation

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

Set link to the scores object to use.

Here is the caller graph for this function:

void CWinner::SetMatch ( CMatch pMatch  )  [inline]

Set link to the match object to use.

Here is the caller graph for this function:

void CWinner::Create ( void   )  [virtual]

Initialize the object.

Reimplemented from CModeScreen.

Here is the call graph for this function:

void CWinner::Destroy ( void   )  [virtual]

Uninitialize the object.

Reimplemented from CModeScreen.

Here is the call graph for this function:

void CWinner::OpenInput ( void   )  [virtual]

Get access to the input this object needs.

Implements CModeScreen.

Here is the call graph for this function:

void CWinner::CloseInput ( void   )  [virtual]

Release access to the input this object needs.

Implements CModeScreen.

Here is the call graph for this function:

EGameMode CWinner::Update ( void   )  [virtual]

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

Implements CModeScreen.

Here is the call graph for this function:

void CWinner::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.

Link to the match object to use.

float CWinner::m_LightsTimer [private]

Lights animation timer.

float CWinner::m_HappyBomberTimer [private]

Happy bomber animation timer.

float CWinner::m_SadBomberTimer [private]

Sad bomber animation timer.

Sprite offset to use to switch light colors.

Sprite offset to use to have a happy bomber.

Sprite offset to use to have a sad bomber.

bool CWinner::m_PlayedSound [private]

Did we start playing the victory sound?

float CWinner::m_ModeTime [private]

Time (in seconds) that elapsed since the mode has started.

float CWinner::m_ExitModeTime [private]

Mode time when we have to start the last black screen.

float CWinner::m_CoinTime [private]

Time that elapsed for the current coin sprite.

Sprite offset of the coin.

int CWinner::m_ExitGameMode [private]

Game mode to ask for when exiting.

bool CWinner::m_HaveToExit [private]

Do we have to exit this mode?


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

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