< Different types of modules have an interest in exiting units out of themselves for whatever reason. More...
#include <UpdateModule.h>
Inherited by DefaultProductionExitUpdate, FlightDeckBehavior, OpenContain, ParkingPlaceBehavior, QueueProductionExitUpdate, SpawnPointProductionExitUpdate, and SupplyCenterProductionExitUpdate.
Public Member Functions | |
| virtual Bool | isExitBusy () const =0 |
| Contain style exiters are getting the ability to space out exits, so ask this before reserveDoor as a kind of no-commitment check. | |
| virtual ExitDoorType | reserveDoorForExit (const ThingTemplate *objType, Object *specificObject)=0 |
| All types can answer if they are free to exit or not, and you can ask about a specific guy or just exit anything in general. | |
| virtual void | exitObjectViaDoor (Object *newObj, ExitDoorType exitDoor)=0 |
| Here is the object for you to exit to the world in your own special way. | |
| virtual void | exitObjectByBudding (Object *newObj, Object *budHost)=0 |
| puts new spawn on top of an existing one | |
| virtual void | unreserveDoorForExit (ExitDoorType exitDoor)=0 |
| if you get permission to exit, but then don't/can't call exitObjectViaDoor, you should call this to "give up" your permission | |
| virtual void | exitObjectInAHurry (Object *newObj) |
| virtual void | setRallyPoint (const Coord3D *pos)=0 |
| Special call for objects exiting a tunnel network, does NOT change the ai state. jba. | |
| virtual const Coord3D * | getRallyPoint (void) const =0 |
| define a "rally point" for units to move towards | |
| virtual Bool | useSpawnRallyPoint (void) const |
| virtual Bool | getNaturalRallyPoint (Coord3D &rallyPoint, Bool offset=TRUE) const |
| get the natural "rally point" for units to move towards | |
| virtual Bool | getExitPosition (Coord3D &exitPosition) const |
< Different types of modules have an interest in exiting units out of themselves for whatever reason.
Definition at line 351 of file UpdateModule.h.
puts new spawn on top of an existing one
Implemented in DefaultProductionExitUpdate, FlightDeckBehavior, GarrisonContain, OpenContain, ParkingPlaceBehavior, QueueProductionExitUpdate, RailedTransportContain, SpawnPointProductionExitUpdate, and SupplyCenterProductionExitUpdate.
|
inlinevirtual |
Reimplemented in OpenContain.
Definition at line 360 of file UpdateModule.h.
|
pure virtual |
Here is the object for you to exit to the world in your own special way.
Implemented in DefaultProductionExitUpdate, FlightDeckBehavior, GarrisonContain, OpenContain, ParkingPlaceBehavior, QueueProductionExitUpdate, RailedTransportContain, SpawnPointProductionExitUpdate, and SupplyCenterProductionExitUpdate.
Reimplemented in DefaultProductionExitUpdate, FlightDeckBehavior, OpenContain, ParkingPlaceBehavior, QueueProductionExitUpdate, and SupplyCenterProductionExitUpdate.
Definition at line 366 of file UpdateModule.h.
|
inlinevirtual |
get the natural "rally point" for units to move towards
Reimplemented in DefaultProductionExitUpdate, OpenContain, ParkingPlaceBehavior, QueueProductionExitUpdate, and SupplyCenterProductionExitUpdate.
Definition at line 365 of file UpdateModule.h.
|
pure virtual |
define a "rally point" for units to move towards
Implemented in DefaultProductionExitUpdate, FlightDeckBehavior, OpenContain, ParkingPlaceBehavior, QueueProductionExitUpdate, SpawnPointProductionExitUpdate, and SupplyCenterProductionExitUpdate.
|
pure virtual |
Contain style exiters are getting the ability to space out exits, so ask this before reserveDoor as a kind of no-commitment check.
Implemented in DefaultProductionExitUpdate, FlightDeckBehavior, OpenContain, ParkingPlaceBehavior, QueueProductionExitUpdate, RiderChangeContain, SpawnPointProductionExitUpdate, SupplyCenterProductionExitUpdate, and TransportContain.
|
pure virtual |
All types can answer if they are free to exit or not, and you can ask about a specific guy or just exit anything in general.
Implemented in DefaultProductionExitUpdate, FlightDeckBehavior, MobNexusContain, OpenContain, ParkingPlaceBehavior, QueueProductionExitUpdate, RiderChangeContain, SpawnPointProductionExitUpdate, SupplyCenterProductionExitUpdate, and TransportContain.
|
pure virtual |
Special call for objects exiting a tunnel network, does NOT change the ai state. jba.
define a "rally point" for units to move towards
Implemented in DefaultProductionExitUpdate, FlightDeckBehavior, OpenContain, ParkingPlaceBehavior, QueueProductionExitUpdate, SpawnPointProductionExitUpdate, and SupplyCenterProductionExitUpdate.
|
pure virtual |
if you get permission to exit, but then don't/can't call exitObjectViaDoor, you should call this to "give up" your permission
Implemented in DefaultProductionExitUpdate, FlightDeckBehavior, MobNexusContain, OpenContain, ParkingPlaceBehavior, QueueProductionExitUpdate, RiderChangeContain, SpawnPointProductionExitUpdate, SupplyCenterProductionExitUpdate, and TransportContain.
|
inlinevirtual |
Reimplemented in DefaultProductionExitUpdate.
Definition at line 364 of file UpdateModule.h.