#include <StructureCollapseUpdate.h>
Inherits UpdateModule, and DieModuleInterface.
Static Public Member Functions | |
| static Int | getInterfaceMask () |
Static Public Member Functions inherited from UpdateModule | |
| static Int | getInterfaceMask () |
Static Public Member Functions inherited from BehaviorModule | |
| static Int | getInterfaceMask () |
| static ModuleType | getModuleType () |
Static Public Member Functions inherited from Module | |
| static ModuleData * | friend_newModuleData (INI *ini) |
Protected Types | |
| enum | StructureCollapseStateType { COLLAPSESTATE_STANDING , COLLAPSESTATE_WAITINGFORCOLLAPSESTART , COLLAPSESTATE_COLLAPSING , COLLAPSESTATE_DONE } |
Protected Member Functions | |
| void | applyCrushingDamage (Real theta) |
| void | beginStructureCollapse (const DamageInfo *damageInfo) |
| void | doDamageLine (Object *building, const WeaponTemplate *wt, Real jcos, Real jsin, Real facingWidth, Real collapseAngle) |
| void | doCollapseStartFX (Object *building, const DamageInfo *damageInfo) |
| void | doCollapseDelayBurstFX () |
| void | doCollapseDoneStuff () |
| void | doPhaseStuff (StructureCollapsePhaseType scphase, const Coord3D *target) |
Protected Member Functions inherited from UpdateModule | |
| void | setWakeFrame (Object *obj, UpdateSleepTime wakeDelay) |
| UpdateSleepTime | getWakeFrame () const |
| virtual SleepyUpdatePhase | getUpdatePhase () const |
| UpdateSleepTime | frameToSleepTime (UnsignedInt frame1, UnsignedInt frame2=FOREVER, UnsignedInt frame3=FOREVER, UnsignedInt frame4=FOREVER) |
Protected Member Functions inherited from BehaviorModule | |
| virtual void | crc (Xfer *xfer) |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
Protected Member Functions inherited from ObjectModule | |
| Object * | getObject () |
| const Object * | getObject () const |
Protected Member Functions inherited from Module | |
| const ModuleData * | getModuleData () const |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
Protected Attributes | |
| UnsignedInt | m_collapseFrame |
| UnsignedInt | m_burstFrame |
| StructureCollapseStateType | m_collapseState |
| Real | m_collapseVelocity |
| Real | m_currentHeight |
Definition at line 103 of file StructureCollapseUpdate.h.
|
protected |
| Enumerator | |
|---|---|
| COLLAPSESTATE_STANDING | |
| COLLAPSESTATE_WAITINGFORCOLLAPSESTART | |
| COLLAPSESTATE_COLLAPSING | |
| COLLAPSESTATE_DONE | |
Definition at line 137 of file StructureCollapseUpdate.h.
| StructureCollapseUpdate::StructureCollapseUpdate | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 65 of file StructureCollapseUpdate.cpp.
|
protected |
|
protected |
Definition at line 132 of file StructureCollapseUpdate.cpp.
|
protected |
|
protected |
Definition at line 345 of file StructureCollapseUpdate.cpp.
|
protected |
|
protected |
|
protected |
Definition at line 304 of file StructureCollapseUpdate.cpp.
|
inlinevirtual |
Reimplemented from BehaviorModule.
Definition at line 118 of file StructureCollapseUpdate.h.
|
inlinestatic |
Definition at line 115 of file StructureCollapseUpdate.h.
|
virtual |
Implements DieModuleInterface.
Definition at line 152 of file StructureCollapseUpdate.cpp.
|
virtual |
Implements UpdateModule.
Definition at line 170 of file StructureCollapseUpdate.cpp.
|
protected |
Definition at line 146 of file StructureCollapseUpdate.h.
|
protected |
Definition at line 145 of file StructureCollapseUpdate.h.
|
protected |
Definition at line 147 of file StructureCollapseUpdate.h.
|
protected |
Definition at line 148 of file StructureCollapseUpdate.h.
|
protected |
Definition at line 149 of file StructureCollapseUpdate.h.