#include <FireWeaponWhenDamagedBehavior.h>
Inherits UpdateModule, UpgradeMux, and DamageModuleInterface.
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 Member Functions | |
| virtual void | upgradeImplementation () |
| Here's the actual work of Upgrading. | |
| virtual void | getUpgradeActivationMasks (UpgradeMaskType &activation, UpgradeMaskType &conflicting) const |
| Here's the actual work of Upgrading. | |
| virtual void | performUpgradeFX () |
| perform the associated fx list | |
| virtual void | processUpgradeRemoval () |
| virtual Bool | requiresAllActivationUpgrades () const |
| Bool | isUpgradeActive () const |
| virtual Bool | isSubObjectsUpgrade () |
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 Member Functions inherited from UpgradeMux | |
| void | setUpgradeExecuted (Bool e) |
| void | giveSelfUpgrade () |
| virtual void | upgradeMuxCRC (Xfer *xfer) |
| virtual void | upgradeMuxXfer (Xfer *xfer) |
| virtual void | upgradeMuxLoadPostProcess (void) |
Definition at line 105 of file FireWeaponWhenDamagedBehavior.h.
| FireWeaponWhenDamagedBehavior::FireWeaponWhenDamagedBehavior | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 59 of file FireWeaponWhenDamagedBehavior.cpp.
|
inlinevirtual |
Reimplemented from BehaviorModule.
Definition at line 123 of file FireWeaponWhenDamagedBehavior.h.
|
inlinestatic |
Definition at line 119 of file FireWeaponWhenDamagedBehavior.h.
|
inlinevirtual |
Reimplemented from BehaviorModule.
Definition at line 122 of file FireWeaponWhenDamagedBehavior.h.
|
inlineprotectedvirtual |
Here's the actual work of Upgrading.
Implements UpgradeMux.
Definition at line 140 of file FireWeaponWhenDamagedBehavior.h.
|
inlineprotectedvirtual |
Implements UpgradeMux.
Definition at line 163 of file FireWeaponWhenDamagedBehavior.h.
|
inlineprotected |
Definition at line 161 of file FireWeaponWhenDamagedBehavior.h.
|
inlinevirtual |
state change callback
Implements DamageModuleInterface.
Definition at line 128 of file FireWeaponWhenDamagedBehavior.h.
|
virtual |
Damage has been dealt, this is an opportunity to reach to that damage
Implements DamageModuleInterface.
Definition at line 171 of file FireWeaponWhenDamagedBehavior.cpp.
|
inlinevirtual |
healing callback
Implements DamageModuleInterface.
Definition at line 127 of file FireWeaponWhenDamagedBehavior.h.
|
inlineprotectedvirtual |
perform the associated fx list
Implements UpgradeMux.
Definition at line 145 of file FireWeaponWhenDamagedBehavior.h.
|
inlineprotectedvirtual |
Implements UpgradeMux.
Definition at line 150 of file FireWeaponWhenDamagedBehavior.h.
|
inlineprotectedvirtual |
Implements UpgradeMux.
Definition at line 156 of file FireWeaponWhenDamagedBehavior.h.
|
virtual |
if object fires weapon constantly, figure out which one and do it
Implements UpdateModule.
Definition at line 224 of file FireWeaponWhenDamagedBehavior.cpp.
|
inlineprotectedvirtual |
Here's the actual work of Upgrading.
Implements UpgradeMux.
Definition at line 135 of file FireWeaponWhenDamagedBehavior.h.