#include <InactiveBody.h>
Inherits BodyModule.
Additional Inherited Members | |
Static Public Member Functions inherited from BodyModule | |
| 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 inherited from BodyModule | |
| 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 inherited from BodyModule | |
| Real | m_damageScalar |
Inactive body module
Definition at line 42 of file InactiveBody.h.
| InactiveBody::InactiveBody | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 46 of file InactiveBody.cpp.
|
virtual |
|
virtual |
|
inlinevirtual |
Implements BodyModule.
Definition at line 64 of file InactiveBody.h.
|
virtual |
Estimate the (unclipped) damage that would be done to this object by the given damage (taking bonuses, armor, etc into account), but DO NOT alter the body in any way. (This is used by the AI system to choose weapons.)
Implements BodyModule.
Definition at line 61 of file InactiveBody.cpp.
|
virtual |
Implements BodyModule.
Definition at line 153 of file InactiveBody.cpp.
|
virtual |
|
virtual |
Change the module's health by the given delta. Note that the module's DamageFX and Armor are NOT taken into account, so you should think about what you're bypassing when you call this directly (especially when when decreasing health, since you probably want "attemptDamage" or "attemptHealing")
Implements BodyModule.
Definition at line 134 of file InactiveBody.cpp.
|
inlinevirtual |
I just achieved this level right this moment.
Implements BodyModule.
Definition at line 61 of file InactiveBody.h.
|
inlinevirtual |
This is a major change like a damage state.
Implements BodyModule.
Definition at line 59 of file InactiveBody.h.
|
inlinevirtual |
Implements BodyModule.
Definition at line 63 of file InactiveBody.h.
|
virtual |
control damage state directly. Will adjust hitpoints.
| newState | control damage state directly. Will adjust hitpoints. |
Implements BodyModule.
Definition at line 160 of file InactiveBody.cpp.
|
inlinevirtual |
Implements BodyModule.
Definition at line 65 of file InactiveBody.h.