#include <SupplyWarehouseDockUpdate.h>
Inherits DockUpdate.
Protected Attributes | |
| Int | m_boxesStored |
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 55 of file SupplyWarehouseDockUpdate.h.
| SupplyWarehouseDockUpdate::SupplyWarehouseDockUpdate | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 75 of file SupplyWarehouseDockUpdate.cpp.
For me, this means identifying who is docking and either taking Boxes away or giving them.
Implements DockUpdateInterface.
Definition at line 93 of file SupplyWarehouseDockUpdate.cpp.
|
inline |
Definition at line 70 of file SupplyWarehouseDockUpdate.h.
|
inlinevirtual |
Reimplemented from BehaviorModule.
Definition at line 63 of file SupplyWarehouseDockUpdate.h.
|
virtual |
this is called after all the Modules for a given Thing are created; it allows Modules to resolve any inter-Module dependencies.
Reimplemented from Module.
Definition at line 84 of file SupplyWarehouseDockUpdate.cpp.
| void SupplyWarehouseDockUpdate::setCashValue | ( | Int | cashValue | ) |
Definition at line 175 of file SupplyWarehouseDockUpdate.cpp.
|
virtual |
Game Logic can set me as inoperative. I get to decide what that means.
Reimplemented from DockUpdate.
Definition at line 142 of file SupplyWarehouseDockUpdate.cpp.
|
protected |
Definition at line 78 of file SupplyWarehouseDockUpdate.h.