CMenuYesNo Class Reference

A mini menu with two options: yes or no. More...

#include <CMenuYesNo.h>

Collaboration diagram for CMenuYesNo:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CMenuYesNo (void)
 ~CMenuYesNo (void)
void SetDisplay (CDisplay *pDisplay)
 Set link to the display object to use.
void SetInput (CInput *pInput)
 Set link to the input object to use.
void SetTimer (CTimer *pTimer)
 Set link to the timer object to use.
void SetSound (CSound *pSound)
 Set link to the sound object to use.
void Create (void)
void Destroy (void)
EGameMode Update (EGameMode CurrentGameMode)
 Update the object and return what was chosen.
void Display (void)
bool IsActive (void)

Private Attributes

CDisplaym_pDisplay
 Link to display object to use.
CInputm_pInput
 Link to input object to use.
CSoundm_pSound
 Link to sound object to use.
CTimerm_pTimer
CFont m_Font
 Font object used to draw text.
bool m_YesNo
char m_Title [25]
bool m_Active
bool m_WasSoundPaused
 Was the sound paused when the Yes/No message box had to appear?


Detailed Description

A mini menu with two options: yes or no.

Constructor & Destructor Documentation

CMenuYesNo::CMenuYesNo ( void   ) 

CMenuYesNo::~CMenuYesNo ( void   ) 


Member Function Documentation

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

Set link to the display object to use.

Here is the call graph for this function:

Here is the caller graph for this function:

void CMenuYesNo::SetInput ( CInput pInput  )  [inline]

Set link to the input object to use.

Here is the caller graph for this function:

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

Set link to the timer object to use.

Here is the caller graph for this function:

void CMenuYesNo::SetSound ( CSound pSound  )  [inline]

Set link to the sound object to use.

Here is the caller graph for this function:

void CMenuYesNo::Create ( void   ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CMenuYesNo::Destroy ( void   ) 

Here is the call graph for this function:

Here is the caller graph for this function:

EGameMode CMenuYesNo::Update ( EGameMode  CurrentGameMode  ) 

Update the object and return what was chosen.

Here is the call graph for this function:

Here is the caller graph for this function:

void CMenuYesNo::Display ( void   ) 

Here is the call graph for this function:

Here is the caller graph for this function:

bool CMenuYesNo::IsActive ( void   )  [inline]

Here is the caller graph for this function:


Member Data Documentation

Link to display object to use.

Link to input object to use.

Link to sound object to use.

Font object used to draw text.

bool CMenuYesNo::m_YesNo [private]

char CMenuYesNo::m_Title[25] [private]

bool CMenuYesNo::m_Active [private]

Was the sound paused when the Yes/No message box had to appear?


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

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