StateClose Class Reference

Game state when it is closing time. More...

#include <stateclose.h>

Inheritance diagram for StateClose:

State List of all members.

Public Member Functions

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

Detailed Description

Game state when it is closing time.

Presents some options before game application quits.

Definition at line 11 of file stateclose.h.


Constructor & Destructor Documentation

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

Constructor.

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


Member Function Documentation

void StateClose::entry void   )  [virtual]
 

See also:
State::entry()

Implements State.

Definition at line 76 of file stateclose.cpp.

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

void StateClose::exit void   )  [virtual]
 

See also:
State::exit()

Implements State.

Definition at line 91 of file stateclose.cpp.

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

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

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

Implements State.

void StateClose::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