Explosion Class Reference#include <explosion.h>
Inheritance diagram for Explosion:
[legend]
Member Typedef Documentation
Constructor & Destructor Documentation
Explosion::~Explosion |
( |
|
) |
|
Member Function Documentation
bool Explosion::onAdd |
( |
|
) |
[protected, virtual] |
Called when the object is added to the sim.
Reimplemented from GameBase.
void Explosion::onRemove |
( |
|
) |
[protected, virtual] |
Called when the object is removed from the sim.
Reimplemented from GameBase.
bool Explosion::explode |
( |
|
) |
[protected] |
void Explosion::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.
void Explosion::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.
void Explosion::updateEmitters |
( |
F32 |
dt |
) |
[protected] |
void Explosion::launchDebris |
( |
Point3F & |
axis |
) |
[protected] |
void Explosion::spawnSubExplosions |
( |
|
) |
[protected] |
void Explosion::setCurrentScale |
( |
|
) |
[protected] |
bool Explosion::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.
Called when the object is supposed to render itself.
- Parameters:
-
| state | Current rendering state. |
- See also:
- SceneState
- Parameters:
-
| image | Image associated with this object to render. |
- See also:
- SceneRenderImage
Reimplemented from SceneObject.
void Explosion::registerLights |
( |
LightManager * |
lm, |
|
|
bool |
lightingScene | |
|
) |
| | [protected, virtual] |
Called to register the object's lights, if any, with the LightManager.
- Parameters:
-
| lm | LightManager to put lights into. |
| lightingScene | True if we're currently calculating lighting information. |
Reimplemented from SimObject.
bool Explosion::onNewDataBlock |
( |
GameBaseData * |
dptr |
) |
[virtual] |
Called when a new datablock is set.
This allows subclasses to appropriately handle new datablocks.
- See also:
- setDataBlock()
- Parameters:
-
Reimplemented from GameBase.
void Explosion::setCollideType |
( |
U32 |
cType |
) |
[inline] |
static void Explosion::initPersistFields |
( |
|
) |
[static] |
Field Documentation
|