Debris Class Reference#include <debris.h>
Inheritance diagram for Debris:
[legend]List of all members.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
void Debris::explode |
( |
|
) |
[private] |
void Debris::render2D |
( |
|
) |
[private] |
void Debris::rotate |
( |
F32 |
dt |
) |
[private] |
virtual void Debris::processTick |
( |
const Move * |
move |
) |
[protected, virtual] |
Processes a move event and updates object state once every 32 milliseconds.
This takes place both on the client and server, every 32 milliseconds (1 tick).
- See also:
- ProcessList
- Parameters:
-
| move | Move event corresponding to this tick, or NULL. |
Reimplemented from GameBase.
virtual void Debris::advanceTime |
( |
F32 |
dt |
) |
[protected, virtual] |
Advances simulation time for animations.
This is called every frame.
- Parameters:
-
| dt | Time since last advance call |
Reimplemented from GameBase.
bool Debris::prepRenderImage |
( |
SceneState * |
state, |
|
|
const U32 |
stateKey, |
|
|
const U32 |
startZone, |
|
|
const bool |
modifyBaseZoneState | |
|
) |
| | [protected, virtual] |
Called when the SceneGraph is ready for the registration of RenderImages.
- See also:
- SceneState
- Parameters:
-
| state | SceneState |
| stateKey | State key of the current SceneState |
| startZone | Base zone index |
| modifyBaseZoneState | If true, the object needs to modify the zone state. |
Reimplemented from SceneObject.
bool Debris::onAdd |
( |
|
) |
[protected, virtual] |
Called when the object is added to the sim.
Reimplemented from GameBase.
void Debris::onRemove |
( |
|
) |
[protected, virtual] |
Called when the object is removed from the sim.
Reimplemented from GameBase.
static void Debris::initPersistFields |
( |
|
) |
[static] |
Called when a new datablock is set.
This allows subclasses to appropriately handle new datablocks.
- See also:
- setDataBlock()
- Parameters:
-
Reimplemented from GameBase.
void Debris::setLifetime |
( |
F32 |
lifetime |
) |
[inline] |
void Debris::setVelocity |
( |
const Point3F & |
vel |
) |
[inline, virtual] |
Sets the velocity of the object.
- Parameters:
-
Reimplemented from SceneObject.
void Debris::setRotAngles |
( |
const Point3F & |
angles |
) |
[inline] |
Debris::DECLARE_CONOBJECT |
( |
Debris |
|
) |
|
Member Data Documentation
|