Class cocos.actions.interval_actions.Delay

             object --+        
                      |        
    base_actions.Action --+    
                          |    
base_actions.IntervalAction --+
                              |
                             Delay

Delays the action a certain amount of seconds

Example:

action = Delay(2.5)
sprite.do( action )

Methods

  init(self, delay)
Init method
  __reversed__(self)
Inherited from base_actions.IntervalAction: done, update Inherited from base_actions.Action: __add__, __init__, __mul__, __or__, start, step, stop Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Instance Variables

Inherited from base_actions.Action: target

Method Details

init

init(self, delay)
Init method
Parameters:
delay : float
Seconds of delay
Overrides:
base_actions.Action.init

__reversed__

__reversed__(self)
Overrides:
base_actions.Action.__reversed__