StateMenu Class Reference

Menu state. You guess what. More...

#include <statemenu.h>

Inheritance diagram for StateMenu:

State List of all members.

Public Member Functions

 StateMenu (irr::c8 *n, irr::IrrlichtDevice *d)
 ~StateMenu ()
 Destructor.
bool OnEvent (irr::SEvent event)
void entry (void)
void exit (void)
void render (irr::u32 deltaTime)

Detailed Description

Menu state. You guess what.

Set at begin and before each start of game.

Definition at line 12 of file statemenu.h.


Constructor & Destructor Documentation

StateMenu::StateMenu irr::c8 *  n,
irr::IrrlichtDevice *  d
 

Constructor.

Parameters:
n : A string, usualy something like "STATE_MENU"
d : A IrrlichtDevice*, used to access media.


Member Function Documentation

void StateMenu::entry void   )  [virtual]
 

See also:
State::entry()

Implements State.

Definition at line 86 of file statemenu.cpp.

References Gui::addButton(), Gui::bringToFront(), State::device, Debug::log(), and State::name.

void StateMenu::exit void   )  [virtual]
 

See also:
State::exit()

Implements State.

Definition at line 125 of file statemenu.cpp.

References Debug::log(), and State::name.

bool StateMenu::OnEvent irr::SEvent  event  )  [virtual]
 

See also:
State::OnEvent()
Parameters:
event : A user event (mouse, keyboard, GUI, ...)

Implements State.

void StateMenu::render irr::u32  deltaTime  )  [virtual]
 

See also:
State::render()
Parameters:
deltaTime : A unsigned integer representing milliseconds since last call.

Implements State.


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 17:09:58 2007 for Swarm by  doxygen 1.4.6-NO