#include <CMenuYesNo.h>
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 | |
CDisplay * | m_pDisplay |
Link to display object to use. | |
CInput * | m_pInput |
Link to input object to use. | |
CSound * | m_pSound |
Link to sound object to use. | |
CTimer * | m_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? |
CMenuYesNo::CMenuYesNo | ( | void | ) |
CMenuYesNo::~CMenuYesNo | ( | void | ) |
void CMenuYesNo::SetDisplay | ( | CDisplay * | pDisplay | ) | [inline] |
Set link to the display object to use.
void CMenuYesNo::SetInput | ( | CInput * | pInput | ) | [inline] |
Set link to the input object to use.
void CMenuYesNo::SetTimer | ( | CTimer * | pTimer | ) | [inline] |
Set link to the timer object to use.
void CMenuYesNo::SetSound | ( | CSound * | pSound | ) | [inline] |
Set link to the sound object to use.
void CMenuYesNo::Create | ( | void | ) |
void CMenuYesNo::Destroy | ( | void | ) |
EGameMode CMenuYesNo::Update | ( | EGameMode | CurrentGameMode | ) |
Update the object and return what was chosen.
void CMenuYesNo::Display | ( | void | ) |
bool CMenuYesNo::IsActive | ( | void | ) | [inline] |
CDisplay* CMenuYesNo::m_pDisplay [private] |
Link to display object to use.
CInput* CMenuYesNo::m_pInput [private] |
Link to input object to use.
CSound* CMenuYesNo::m_pSound [private] |
Link to sound object to use.
CTimer* CMenuYesNo::m_pTimer [private] |
CFont CMenuYesNo::m_Font [private] |
Font object used to draw text.
bool CMenuYesNo::m_YesNo [private] |
char CMenuYesNo::m_Title[25] [private] |
bool CMenuYesNo::m_Active [private] |
bool CMenuYesNo::m_WasSoundPaused [private] |
Was the sound paused when the Yes/No message box had to appear?