#include <CModeScreen.h>
Public Member Functions | |
CModeScreen () | |
Constructor. Initialize some members. | |
virtual | ~CModeScreen () |
Destructor. Does nothing. | |
virtual void | SetDisplay (CDisplay *pDisplay) |
Set link to the display object to use. | |
virtual void | SetInput (CInput *pInput) |
Set link to the input object to use. | |
virtual void | SetOptions (COptions *pOptions) |
Set link to the options object to use. | |
virtual void | SetTimer (CTimer *pTimer) |
Set link to the timer object to use. | |
virtual void | SetSound (CSound *pSound) |
Set link to the sound object to use. | |
virtual void | Create (void) |
Initialize the object. | |
virtual void | Destroy (void) |
Uninitialize the object. | |
virtual void | OpenInput (void)=0 |
Get access to the input this object needs. | |
virtual void | CloseInput (void)=0 |
Release access to the input this object needs. | |
virtual EGameMode | Update (void)=0 |
Update the object and return what game mode should be set. | |
virtual void | Display (void)=0 |
Display on the screen. | |
Protected Attributes | |
CDisplay * | m_pDisplay |
Link to the display object to use. | |
CInput * | m_pInput |
Link to the input object to use. | |
COptions * | m_pOptions |
Link to the options object to use. | |
CTimer * | m_pTimer |
Link to the timer object to use. | |
CSound * | m_pSound |
Link to the sound object to use. |
CModeScreen::CModeScreen | ( | ) |
Constructor. Initialize some members.
CModeScreen::~CModeScreen | ( | void | ) | [virtual] |
Destructor. Does nothing.
void CModeScreen::SetDisplay | ( | CDisplay * | pDisplay | ) | [inline, virtual] |
void CModeScreen::SetInput | ( | CInput * | pInput | ) | [inline, virtual] |
Set link to the input object to use.
Reimplemented in CMenu.
void CModeScreen::SetOptions | ( | COptions * | pOptions | ) | [inline, virtual] |
void CModeScreen::SetTimer | ( | CTimer * | pTimer | ) | [inline, virtual] |
void CModeScreen::SetSound | ( | CSound * | pSound | ) | [inline, virtual] |
void CModeScreen::Create | ( | void | ) | [virtual] |
void CModeScreen::Destroy | ( | void | ) | [virtual] |
virtual void CModeScreen::OpenInput | ( | void | ) | [pure virtual] |
virtual void CModeScreen::CloseInput | ( | void | ) | [pure virtual] |
virtual EGameMode CModeScreen::Update | ( | void | ) | [pure virtual] |
virtual void CModeScreen::Display | ( | void | ) | [pure virtual] |
CDisplay* CModeScreen::m_pDisplay [protected] |
Link to the display object to use.
CInput* CModeScreen::m_pInput [protected] |
Link to the input object to use.
COptions* CModeScreen::m_pOptions [protected] |
Link to the options object to use.
CTimer* CModeScreen::m_pTimer [protected] |
Link to the timer object to use.
CSound* CModeScreen::m_pSound [protected] |
Link to the sound object to use.