Trees | Indices | Toggle frames |
---|
base_actions.Action --+ | base_actions.IntervalAction --+ | base_actions.InstantAction --+ | ToggleVisibility
Toggles the visible attribute of a CocosNode object
Example:
action = ToggleVisibility() sprite.do( action )
start(self)
Here we must do out stuff
|
|
__reversed__(self) | |
__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
(Inherited from cocos.actions.base_actions.Action)
|
|
__init__(self,
*args,
**kwargs)
dont override - use init
(Inherited from cocos.actions.base_actions.InstantAction)
|
|
__mul__(self, other) (Inherited from cocos.actions.base_actions.InstantAction) | |
__or__(self,
action)
spawn operator - runs two actions in parallel
action1 | action2 -> action_result
(Inherited from cocos.actions.base_actions.Action)
|
|
done(self)
When in the worker role, this method is reliable.
(Inherited from cocos.actions.base_actions.InstantAction)
|
|
init(*args,
**kwargs)
Gets called by __init__ with all the parameteres received,
At this time the target for the action is unknown.
(Inherited from cocos.actions.base_actions.Action)
|
|
step(self,
dt)
does nothing - dont override
(Inherited from cocos.actions.base_actions.InstantAction)
|
|
stop(self)
does nothing - dont override
(Inherited from cocos.actions.base_actions.InstantAction)
|
|
update(self,
t)
does nothing - dont override
(Inherited from cocos.actions.base_actions.InstantAction)
|
target
CocosNode object that is the target of the action
(Inherited from cocos.actions.base_actions.Action)
|
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Wed Sep 08 23:50:18 2010 | http://epydoc.sourceforge.net |