| Home | Trees | Index | Help |
|---|
|
|
object--+ |Task--+ | WalkUpToEntity
| Method Summary | |
|---|---|
| |
Attempt to accomplish this task, by examining and/or modifying the level; and should return a TaskResult object, indicating
what action should be taken next. | |
| Inherited from Task | |
| |
This method is called when a script starts using this task. | |
Attempt to accomplish this task, given that an interrupt condition occured. | |
Attempt to accomplish this task, given that a subtask failed. | |
Register this task class as a task that can be used in the task list of a script. (Class method) | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... | |
| Instance Variable Summary | |
|---|---|
| Inherited from Task | |
NoneType |
fail_task: A variable used to hold the task that should be notified if this task
fails. |
NoneType |
next_task: A variable used to hold the task that should be performed after this
task. |
NoneType |
timeout: If set to a value other than None, then this task will
automatically fail if it has not finished before this amount of time (in
msec) has elapsed. |
| Class Variable Summary | |
|---|---|
| Inherited from Task | |
tuple |
interrupts = ()
|
NoneType |
require = None |
NoneType |
signature: The type signature of this task. |
dict |
task_classes = {'WaitForAvatar': <class 'pajammin.ai.scr...
|
| Instance Method Details |
|---|
__init__(self,
agent,
target,
mindist=5,
maxdist=10,
timeout=None)
|
act(self, level)Attempt to accomplish this task, by examining and/or modifying the
level; and should return a act() is called, it should only do a very
small amount of work -- this will ensure that the game runs more
smoothly.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Sep 22 22:52:42 2005 | http://epydoc.sf.net |