| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package ai_lib :: Module goals :: Class CompositeGoal |
|
| Method Summary | |
|---|---|
__init__(self)
| |
Logic to run when the goal is activated. | |
Adds new subgoal. | |
Passes the message to the goal at the front of the queue | |
Handles event from game system. | |
Logic to run each update-step. | |
Processes subgoals. | |
Clears all subgoals. | |
Logic to run prior to the goal's destruction. | |
| Method Details |
|---|
activate(self)Logic to run when the goal is activated. |
addSubgoal(self, subgoal)Adds new subgoal. |
forwardEventToFrontSubgoal(self, event)Passes the message to the goal at the front of the queue |
handleEvent(self, event)Handles event from game system. |
process(self)Logic to run each update-step. |
processSubgoals()Processes subgoals. |
removeAllSubgoals(self)Clears all subgoals. |
terminate(self)Logic to run prior to the goal's destruction. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:31 2005 | http://epydoc.sf.net |