StartUp Class Reference

Diaplays a window with dimension of 800 x 600 to let user set some preferences. More...

#include <startup.h>

List of all members.

Public Member Functions

 StartUp ()
 Constructor.
 ~StartUp ()
 Destructor.
bool OnEvent (irr::SEvent event)
StartUpParameters getStartUpParameters (void)

Protected Member Functions

void loop (void)


Detailed Description

Diaplays a window with dimension of 800 x 600 to let user set some preferences.

A StartUp object will loop by itself for ever, except user press start or exit button. If user do so, the game application can retrieve StartUpParameters with function getStartUpParameters(). A StartUp object will create its own IrrlichtDevice* and is purposed to be called at the very start of your main().

Definition at line 55 of file startup.h.


Member Function Documentation

StartUpParameters StartUp::getStartUpParameters void   ) 
 

Returns:
Returns reference to StartUpParameters which was filled with user settings and error message.

Definition at line 256 of file startup.cpp.

void StartUp::loop void   )  [protected]
 

Loops until user press start/exit or window was closed or error.

See also:
StartUpParameters::error

Definition at line 261 of file startup.cpp.

Referenced by StartUp().

bool StartUp::OnEvent irr::SEvent  event  ) 
 

You usaly do not use this function. It is the implementation of irr::IEventReceiver interface.

Parameters:
event : user event
Returns:
Returns true if event was consumed, false otherwise.


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