#include <RepairDockUpdate.h>
Inherits DockUpdate.
Protected Attributes | |
| ObjectID | m_lastRepair |
| object we were repairing last | |
| Real | m_healthToAddPerFrame |
| health to add per frame to current docked object | |
Protected Attributes inherited from DockUpdate | |
| Coord3D | m_enterPosition |
| Coord3D | m_dockPosition |
| Coord3D | m_exitPosition |
| Int | m_numberApproachPositions |
| Int | m_numberApproachPositionBones |
| Bool | m_positionsLoaded |
| FALSE until we have loaded all the docking positions. | |
| VecCoord3D | m_approachPositions |
| ObjectIDVector | m_approachPositionOwners |
| Who is in or at least reserved each spot. | |
| BoolVector | m_approachPositionReached |
| Which positions have actually been reached. | |
| ObjectID | m_activeDocker |
| we could expand this to multiple dock paths since we always get docker in our methods | |
| Bool | m_dockerInside |
| This is true while our active docker is between Enter and Exit. This is shorter than activeDocker's lifetime as it doesn't include approach to enter. | |
| Bool | m_dockCrippled |
| Has game logic set me as crippled? | |
| Bool | m_dockOpen |
| Is the dock open for dockers. | |
Additional Inherited Members | |
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 inherited from DockUpdate | |
| void | loadDockPositions () |
| load all the dock positions | |
| Coord3D | computeApproachPosition (Int positionIndex, Object *forWhom) |
| Do a smart lookup of this bone position. | |
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 56 of file RepairDockUpdate.h.
| RepairDockUpdate::RepairDockUpdate | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 70 of file RepairDockUpdate.cpp.
for me this means do some repair
Do the action while docked Return TRUE to continue the docking process Return FALSE to complete the dockin process
Implements DockUpdateInterface.
Definition at line 91 of file RepairDockUpdate.cpp.
|
inlinevirtual |
Reimplemented from BehaviorModule.
Definition at line 67 of file RepairDockUpdate.h.
|
inlinevirtual |
A minority of docks want to give you a final command to their rally point.
Reimplemented from DockUpdate.
Definition at line 71 of file RepairDockUpdate.h.
|
protected |
health to add per frame to current docked object
Definition at line 76 of file RepairDockUpdate.h.
|
protected |
object we were repairing last
Definition at line 75 of file RepairDockUpdate.h.