Class cocos.actions.base_actions.InstantAction

object --+    
         |    
    Action --+
             |
            InstantAction
Instant actions are actions that happen just one call.

Methods

  start(self)
Here we must do out stuff
  done(self)
  update(self, t)
  __add__(self, action)
Is the Sequence Action
(Inherited from cocos.actions.base_actions.Action)
  __init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
(Inherited from cocos.actions.base_actions.Action)
  __mul__(self, other) (Inherited from cocos.actions.base_actions.Action)
  __or__(self, action)
Is the Spawn Action
(Inherited from cocos.actions.base_actions.Action)
  __reversed__(self) (Inherited from cocos.actions.base_actions.Action)
  init(self)
Gets called at initialization time, before a target is defined
(Inherited from cocos.actions.base_actions.Action)
  step(self, dt)
Gets called every frame.
(Inherited from cocos.actions.base_actions.Action)
  stop(self)
After we finish executing an action this method is called.
(Inherited from cocos.actions.base_actions.Action)
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Instance Variables

  target
CocosNode object that is the target of the action
(Inherited from cocos.actions.base_actions.Action)

Class Variables

  duration = 0

Method Details

start

start(self)
Here we must do out stuff
Overrides:
Action.start