#include <DozerAIUpdate.h>
Inherited by DozerAIUpdate, and WorkerAIUpdate.
Public Member Functions | |
| virtual void | onDelete (void)=0 |
| virtual Real | getRepairHealthPerSecond (void) const =0 |
| get health to repair per second | |
| virtual Real | getBoredTime (void) const =0 |
| how long till we're bored | |
| virtual Real | getBoredRange (void) const =0 |
| when we're bored, we look this far away to do things | |
| virtual Object * | construct (const ThingTemplate *what, const Coord3D *pos, Real angle, Player *owningPlayer, Bool isRebuild)=0 |
| virtual DozerTask | getMostRecentCommand (void)=0 |
| return task that was most recently issued | |
| virtual Bool | isTaskPending (DozerTask task)=0 |
| is there a desire to do the requested task | |
| virtual ObjectID | getTaskTarget (DozerTask task)=0 |
| get target of task | |
| virtual Bool | isAnyTaskPending (void)=0 |
| is there any dozer task pending | |
| virtual DozerTask | getCurrentTask (void) const =0 |
| return the current task we're doing | |
| virtual void | setCurrentTask (DozerTask task)=0 |
| set the current task of the dozer | |
| virtual Bool | getIsRebuild (void)=0 |
| get whether or not this is a rebuild. | |
| virtual void | newTask (DozerTask task, Object *target)=0 |
| set a desire to do the requrested task | |
| virtual void | cancelTask (DozerTask task)=0 |
| cancel this task from the queue, if it's the current task the dozer will stop working on it | |
| virtual void | internalTaskComplete (DozerTask task)=0 |
| set a dozer task as successfully completed | |
| virtual void | internalCancelTask (DozerTask task)=0 |
| cancel this task from the dozer | |
| virtual void | internalTaskCompleteOrCancelled (DozerTask task)=0 |
| this is called when tasks are cancelled or completed | |
| virtual const Coord3D * | getDockPoint (DozerTask task, DozerDockPoint point)=0 |
| virtual void | setBuildSubTask (DozerBuildSubTask subTask)=0 |
| virtual DozerBuildSubTask | getBuildSubTask (void)=0 |
| virtual Bool | canAcceptNewRepair (Object *obj)=0 |
| virtual void | createBridgeScaffolding (Object *bridgeTower)=0 |
| virtual void | removeBridgeScaffolding (Object *bridgeTower)=0 |
| virtual void | startBuildingSound (const AudioEventRTS *sound, ObjectID constructionSiteID)=0 |
| virtual void | finishBuildingSound ()=0 |
This is no longer a leaf behavior. Someone else needs to combine this with another major AIUpdate. So provide an interface to satisfy the people who look this up by name.
Definition at line 106 of file DozerAIUpdate.h.
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
cancel this task from the queue, if it's the current task the dozer will stop working on it
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
when we're bored, we look this far away to do things
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
how long till we're bored
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
return the current task we're doing
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
return a dock point for the action and task (if valid) ... note it can return NULL if no point has been set for the combination of task and point
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
get whether or not this is a rebuild.
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
return task that was most recently issued
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
get health to repair per second
Implemented in DozerAIUpdate, and WorkerAIUpdate.
get target of task
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
cancel this task from the dozer
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
set a dozer task as successfully completed
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
this is called when tasks are cancelled or completed
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
is there any dozer task pending
Implemented in DozerAIUpdate, and WorkerAIUpdate.
is there a desire to do the requested task
Implemented in DozerAIUpdate, and WorkerAIUpdate.
set a desire to do the requrested task
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
set the current task of the dozer
Implemented in DozerAIUpdate, and WorkerAIUpdate.
|
pure virtual |
Implemented in DozerAIUpdate, and WorkerAIUpdate.