CBoard Class Reference

The board that is above the arena in the match screen. It shows the scores and the time left. More...

#include <CBoard.h>

Collaboration diagram for CBoard:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CBoard (void)
 Constructor. Initialize some members.
 ~CBoard (void)
 Destructor. Does nothing.
void SetDisplay (CDisplay *pDisplay)
 Set link to the display object to use.
void SetOptions (COptions *pOptions)
 Set link to the options object to use.
void SetScores (CScores *pScores)
 Set link to the scores object to use.
void SetClock (CClock *pClock)
 Set link to the clock object to use.
void SetTimer (CTimer *pTimer)
 Set link to the timer object to use.
void SetArena (CArena *pArena)
 Set link to the arena object to use.
void Create (void)
 Initialize the object.
void Destroy (void)
 Uninitialize the object.
void Update (void)
 Update the board.
void Display (void)
 Display the board.
void SetClockAnimation (bool AnimateClock)
 Make the board's clock animation active or inactive.

Private Attributes

CDisplaym_pDisplay
 Link to the display object to use.
COptionsm_pOptions
 Link to the options object to use.
CScoresm_pScores
 Link to the scores object to use.
CClockm_pClock
 Link to the clock object to use.
CTimerm_pTimer
 Link to the timer object to use.
CArenam_pArena
 Link to the arena object to use.
float m_ClockBottomTimer
 Timer for clockbottom animation.
float m_ClockTopTimer
 Timer for clocktop animation.
int m_ClockBottomSprite
 Current clockbottom sprite to draw.
int m_ClockTopSprite
 Current clocktop sprite to draw.
bool m_AnimateClock
 Should the clock animate?


Detailed Description

The board that is above the arena in the match screen. It shows the scores and the time left.

Constructor & Destructor Documentation

CBoard::CBoard ( void   ) 

Constructor. Initialize some members.

CBoard::~CBoard ( void   ) 

Destructor. Does nothing.


Member Function Documentation

void CBoard::SetDisplay ( CDisplay pDisplay  )  [inline]

Set link to the display object to use.

Here is the caller graph for this function:

void CBoard::SetOptions ( COptions pOptions  )  [inline]

Set link to the options object to use.

Here is the caller graph for this function:

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

Set link to the scores object to use.

Here is the caller graph for this function:

void CBoard::SetClock ( CClock pClock  )  [inline]

Set link to the clock object to use.

Here is the caller graph for this function:

void CBoard::SetTimer ( CTimer pTimer  )  [inline]

Set link to the timer object to use.

Here is the caller graph for this function:

void CBoard::SetArena ( CArena pArena  )  [inline]

Set link to the arena object to use.

Here is the caller graph for this function:

void CBoard::Create ( void   ) 

Initialize the object.

Here is the caller graph for this function:

void CBoard::Destroy ( void   ) 

Uninitialize the object.

Here is the caller graph for this function:

void CBoard::Update ( void   ) 

Update the board.

Here is the call graph for this function:

Here is the caller graph for this function:

void CBoard::Display ( void   ) 

Display the board.

Here is the call graph for this function:

Here is the caller graph for this function:

void CBoard::SetClockAnimation ( bool  AnimateClock  )  [inline]

Make the board's clock animation active or inactive.

Here is the caller graph for this function:


Member Data Documentation

Link to the display object to use.

Link to the options object to use.

Link to the scores object to use.

Link to the clock object to use.

Link to the timer object to use.

Link to the arena object to use.

float CBoard::m_ClockBottomTimer [private]

Timer for clockbottom animation.

float CBoard::m_ClockTopTimer [private]

Timer for clocktop animation.

Current clockbottom sprite to draw.

int CBoard::m_ClockTopSprite [private]

Current clocktop sprite to draw.

bool CBoard::m_AnimateClock [private]

Should the clock animate?


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

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