#include <CBoard.h>
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 | |
CDisplay * | m_pDisplay |
Link to the display object to use. | |
COptions * | m_pOptions |
Link to the options object to use. | |
CScores * | m_pScores |
Link to the scores object to use. | |
CClock * | m_pClock |
Link to the clock object to use. | |
CTimer * | m_pTimer |
Link to the timer object to use. | |
CArena * | m_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? |
CBoard::CBoard | ( | void | ) |
Constructor. Initialize some members.
CBoard::~CBoard | ( | void | ) |
Destructor. Does nothing.
void CBoard::SetDisplay | ( | CDisplay * | pDisplay | ) | [inline] |
Set link to the display object to use.
void CBoard::SetOptions | ( | COptions * | pOptions | ) | [inline] |
Set link to the options object to use.
void CBoard::SetScores | ( | CScores * | pScores | ) | [inline] |
Set link to the scores object to use.
void CBoard::SetClock | ( | CClock * | pClock | ) | [inline] |
Set link to the clock object to use.
void CBoard::SetTimer | ( | CTimer * | pTimer | ) | [inline] |
Set link to the timer object to use.
void CBoard::SetArena | ( | CArena * | pArena | ) | [inline] |
Set link to the arena object to use.
void CBoard::Create | ( | void | ) |
Initialize the object.
void CBoard::Destroy | ( | void | ) |
Uninitialize the object.
void CBoard::Update | ( | void | ) |
Update the board.
void CBoard::Display | ( | void | ) |
Display the board.
void CBoard::SetClockAnimation | ( | bool | AnimateClock | ) | [inline] |
Make the board's clock animation active or inactive.
CDisplay* CBoard::m_pDisplay [private] |
Link to the display object to use.
COptions* CBoard::m_pOptions [private] |
Link to the options object to use.
CScores* CBoard::m_pScores [private] |
Link to the scores object to use.
CClock* CBoard::m_pClock [private] |
Link to the clock object to use.
CTimer* CBoard::m_pTimer [private] |
Link to the timer object to use.
CArena* CBoard::m_pArena [private] |
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.
int CBoard::m_ClockBottomSprite [private] |
Current clockbottom sprite to draw.
int CBoard::m_ClockTopSprite [private] |
Current clocktop sprite to draw.
bool CBoard::m_AnimateClock [private] |
Should the clock animate?