#include <stateterrain.h>
Inheritance diagram for StateTerrain:
Public Member Functions | |
StateTerrain (irr::c8 *n, irr::IrrlichtDevice *d) | |
~StateTerrain () | |
Destructor. | |
bool | OnEvent (irr::SEvent event) |
void | entry (void) |
void | exit (void) |
void | render (irr::u32 deltaTime) |
This is similar to StateFlockSimulation, but with FPS camera.
Definition at line 16 of file stateterrain.h.
|
Constructor.
|
|
Implements State. Definition at line 131 of file stateterrain.cpp. References Gui::addButton(), State::device, Terrain::getCenter(), Terrain::getCollisionTriangles(), Debug::log(), State::name, Flock::setAlignmentWeight(), Flock::setCohesionWeight(), Roller::setCollisionTriangles(), Flock::setNeighborRadius(), Object::setScale(), Flock::setScale(), Flock::setSeekTargetWeight(), Flock::setSeparationWeight(), Flock::setTarget(), Flock::setTornadoWeight(), and Gui::setVisible(). |
|
Implements State. Definition at line 194 of file stateterrain.cpp. References State::device, Debug::log(), and State::name. |
|
Implements State. |
|
Implements State. |