#include <SpawnBehavior.h>
Inherits UpdateModule, SpawnBehaviorInterface, DieModuleInterface, and DamageModuleInterface.
Static Public Member Functions | |
| static Int | getInterfaceMask (void) |
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) |
Additional Inherited Members | |
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 |
Definition at line 135 of file SpawnBehavior.h.
| SpawnBehavior::SpawnBehavior | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 62 of file SpawnBehavior.cpp.
|
virtual |
Implements SpawnBehaviorInterface.
Definition at line 1024 of file SpawnBehavior.cpp.
|
virtual |
Implements SpawnBehaviorInterface.
Definition at line 499 of file SpawnBehavior.cpp.
| void SpawnBehavior::computeAggregateStates | ( | void | ) |
Definition at line 863 of file SpawnBehavior.cpp.
|
inlinevirtual |
Implements SpawnBehaviorInterface.
Definition at line 185 of file SpawnBehavior.h.
|
virtual |
Implements SpawnBehaviorInterface.
Definition at line 410 of file SpawnBehavior.cpp.
|
virtual |
Implements SpawnBehaviorInterface.
Definition at line 448 of file SpawnBehavior.cpp.
Implements SpawnBehaviorInterface.
Definition at line 306 of file SpawnBehavior.cpp.
|
inlinevirtual |
Reimplemented from BehaviorModule.
Definition at line 154 of file SpawnBehavior.h.
|
inlinevirtual |
Reimplemented from BehaviorModule.
Definition at line 153 of file SpawnBehavior.h.
|
inlinestatic |
Definition at line 150 of file SpawnBehavior.h.
|
inlinevirtual |
Reimplemented from BehaviorModule.
Definition at line 155 of file SpawnBehavior.h.
|
inlinevirtual |
Reimplemented from UpdateModule.
Definition at line 152 of file SpawnBehavior.h.
|
virtual |
Implements SpawnBehaviorInterface.
Definition at line 486 of file SpawnBehavior.cpp.
Implements SpawnBehaviorInterface.
Definition at line 276 of file SpawnBehavior.cpp.
|
inlinevirtual |
state change callback
Implements DamageModuleInterface.
Definition at line 166 of file SpawnBehavior.h.
|
virtual |
When I become damaged
Implements DamageModuleInterface.
Definition at line 800 of file SpawnBehavior.cpp.
|
virtual |
onDelete() will be called on all modules contained by an object or drawable before the actual deletion of each of those modules happens
Reimplemented from Module.
Definition at line 108 of file SpawnBehavior.cpp.
|
virtual |
Implements DieModuleInterface.
Definition at line 142 of file SpawnBehavior.cpp.
|
inlinevirtual |
|
virtual |
Something we spawned and set up to tell us it died just died.
Implements SpawnBehaviorInterface.
Definition at line 754 of file SpawnBehavior.cpp.
|
virtual |
Implements SpawnBehaviorInterface.
Definition at line 379 of file SpawnBehavior.cpp.
|
virtual |
Implements SpawnBehaviorInterface.
Definition at line 345 of file SpawnBehavior.cpp.
|
virtual |
Implements SpawnBehaviorInterface.
Definition at line 328 of file SpawnBehavior.cpp.
|
virtual |
Implements SpawnBehaviorInterface.
Definition at line 397 of file SpawnBehavior.cpp.
|
virtual |
Implements SpawnBehaviorInterface.
Definition at line 362 of file SpawnBehavior.cpp.
|
virtual |
Implements SpawnBehaviorInterface.
Definition at line 1045 of file SpawnBehavior.cpp.
| void SpawnBehavior::startSpawning | ( | ) |
Whoever owns this module may want to turn it on.
Definition at line 792 of file SpawnBehavior.cpp.
| void SpawnBehavior::stopSpawning | ( | ) |
Whoever owns this module may want to turn it off.
Definition at line 786 of file SpawnBehavior.cpp.
|
virtual |
Implements UpdateModule.
Definition at line 200 of file SpawnBehavior.cpp.