CMenuBase Class Reference

#include <CMenuBase.h>

Inheritance diagram for CMenuBase:

Inheritance graph
[legend]
Collaboration diagram for CMenuBase:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CMenuBase (void)
virtual ~CMenuBase (void)
void SetDisplay (CDisplay *pDisplay)
void SetSound (CSound *pSound)
void SetInput (CInput *pInput)
void SetOptions (COptions *pOptions)
void SetTimer (CTimer *pTimer)
void SetFont (CFont *pFont)
void Create (void)
void Destroy (void)
EMenuAction Update (void)
void Display (void)

Protected Member Functions

virtual void OnCreate (void)=0
virtual void OnDestroy (void)=0
virtual void OnUpdate (void)=0
virtual void OnDisplay (void)=0
virtual void OnUp (void)=0
virtual void OnDown (void)=0
virtual void OnLeft (void)=0
virtual void OnRight (void)=0
virtual void OnPrevious (void)=0
virtual void OnNext (void)=0
void Exit (EMenuAction ExitMenuAction)

Protected Attributes

CDisplaym_pDisplay
CSoundm_pSound
CInputm_pInput
COptionsm_pOptions
CTimerm_pTimer
CFontm_pFont

Private Attributes

float m_MenuModeTime
 Time (in seconds) that elapsed since this menu mode has started.
bool m_HaveToExit
 Do we have to exit this menu mode?
EMenuAction m_ExitMenuAction
 Menu action to ask for when exiting (after transition).
float m_ExitMenuModeTime
 Menu mode time when we realized we have to exit (used for transition).


Constructor & Destructor Documentation

CMenuBase::CMenuBase ( void   ) 

CMenuBase::~CMenuBase ( void   )  [virtual]


Member Function Documentation

virtual void CMenuBase::OnCreate ( void   )  [protected, pure virtual]

Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.

Here is the caller graph for this function:

virtual void CMenuBase::OnDestroy ( void   )  [protected, pure virtual]

Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.

Here is the caller graph for this function:

virtual void CMenuBase::OnUpdate ( void   )  [protected, pure virtual]

Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.

Here is the caller graph for this function:

virtual void CMenuBase::OnDisplay ( void   )  [protected, pure virtual]

Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.

Here is the caller graph for this function:

virtual void CMenuBase::OnUp ( void   )  [protected, pure virtual]

Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.

Here is the caller graph for this function:

virtual void CMenuBase::OnDown ( void   )  [protected, pure virtual]

Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.

Here is the caller graph for this function:

virtual void CMenuBase::OnLeft ( void   )  [protected, pure virtual]

Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.

Here is the caller graph for this function:

virtual void CMenuBase::OnRight ( void   )  [protected, pure virtual]

Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.

Here is the caller graph for this function:

virtual void CMenuBase::OnPrevious ( void   )  [protected, pure virtual]

Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.

Here is the caller graph for this function:

virtual void CMenuBase::OnNext ( void   )  [protected, pure virtual]

Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.

Here is the caller graph for this function:

void CMenuBase::Exit ( EMenuAction  ExitMenuAction  )  [protected]

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

void CMenuBase::SetFont ( CFont pFont  )  [inline]

Here is the caller graph for this function:

void CMenuBase::Create ( void   ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CMenuBase::Destroy ( void   ) 

Here is the call graph for this function:

Here is the caller graph for this function:

EMenuAction CMenuBase::Update ( void   ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CMenuBase::Display ( void   ) 

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

float CMenuBase::m_MenuModeTime [private]

Time (in seconds) that elapsed since this menu mode has started.

bool CMenuBase::m_HaveToExit [private]

Do we have to exit this menu mode?

EMenuAction CMenuBase::m_ExitMenuAction [private]

Menu action to ask for when exiting (after transition).

Menu mode time when we realized we have to exit (used for transition).

CFont* CMenuBase::m_pFont [protected]


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