| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package ai_lib :: Module tasks :: Class TaskManager |
|
Task --+
|
CompositeTask --+
|
TaskManager
| Method Summary | |
|---|---|
__init__(self,
agent)
| |
Logic to run when the task is activated. | |
Judges most desirable task to pursue. | |
Logic to run each update-step. | |
Logic to run prior to the task's destruction. | |
| Inherited from CompositeTask | |
Adds new subtask. | |
Passes the message to the task at the front of the queue | |
Handles event from game system. | |
Processes subtasks. | |
Clears all subtasks. | |
| Inherited from Task | |
Reactivates the task if Task.status is
task_state.INACTIVE. | |
| |
| |
| |
| |
If Task.status is task_state.FAILED this
method sets it to inactive so that the task will be reactivated
(replanned) on the next update-step. | |
| Method Details |
|---|
activate(self)Logic to run when the task is activated. |
arbitrate(self)Judges most desirable task to pursue. |
process(self)Logic to run each update-step. |
terminate(self)Logic to run prior to the task's destruction. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:26 2005 | http://epydoc.sf.net |