StateFlockSimulation Class Reference

Game state to test algorithms. Subject of constant change. More...

#include <stateflocksimulation.h>

Inheritance diagram for StateFlockSimulation:

State List of all members.

Public Member Functions

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

Detailed Description

Game state to test algorithms. Subject of constant change.

After PSO testing we do some FLOCK stuff here.

Definition at line 15 of file stateflocksimulation.h.


Constructor & Destructor Documentation

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

Constructor.

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


Member Function Documentation

void StateFlockSimulation::entry void   )  [virtual]
 

See also:
State::entry()

Implements State.

Definition at line 262 of file stateflocksimulation.cpp.

References Gui::addButton(), Gui::addSlider(), Gui::addText(), State::device, Terrain::getCenter(), Debug::log(), and State::name.

void StateFlockSimulation::exit void   )  [virtual]
 

See also:
State::exit()

Implements State.

Definition at line 300 of file stateflocksimulation.cpp.

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

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

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

Implements State.

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