#include <SupplyCenterDockUpdate.h>
Inherits DockUpdate.
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 |
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. | |
Definition at line 53 of file SupplyCenterDockUpdate.h.
| SupplyCenterDockUpdate::SupplyCenterDockUpdate | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 76 of file SupplyCenterDockUpdate.cpp.
For me, this means taking boxes and turning them into money for my ownerplayer.
Implements DockUpdateInterface.
Definition at line 88 of file SupplyCenterDockUpdate.cpp.
|
inlinevirtual |
Reimplemented from BehaviorModule.
Definition at line 63 of file SupplyCenterDockUpdate.h.
|
virtual |
In charge of lifting dock restriction for one registered as Approached if all is ready.
Reimplemented from DockUpdate.
Definition at line 169 of file SupplyCenterDockUpdate.cpp.