Trees | Indices | Toggle frames |
---|
__init__(self,
*args,
**kwargs)
dont override - use init
|
|
init(*args,
**kwargs)
Gets called by __init__ with all the parameteres received,
At this time the target for the action is unknown.
|
|
start(self)
External code sets self.target and then calls this method.
|
|
stop(self)
When the action must cease to perform this function is called by
external code; after this call no other method should be called.
|
|
step(self,
dt)
Gets called every frame.
|
|
done(self)
False while the step method must be called.
|
|
__add__(self,
action)
sequence operator - concatenates actions
action1 + action2 -> action_result
where action_result performs as:
first do all that action1 would do; then
perform all that action2 would do
|
|
__mul__(self,
other)
repeats ntimes the action
action * n -> action_result
where action result performs as:
repeat n times the changes that action would do
|
|
__or__(self,
action)
spawn operator - runs two actions in parallel
action1 | action2 -> action_result
|
|
__reversed__(self) |
target
CocosNode object that is the target of the action
|
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Wed Oct 26 10:00:12 2011 | http://epydoc.sourceforge.net |