Class cocos.actions.interval_actions.FadeIn

             object --+            
                      |            
    base_actions.Action --+        
                          |        
base_actions.IntervalAction --+    
                              |    
                        FadeOut --+
                                  |
                                 FadeIn

Fades in a CocosNode object by modifying it's opacity attribute.

Example:

action = FadeIn( 2 )
sprite.do( action )

Methods

  update(self, t)
  __reversed__(self)
  init(self, duration)
Init method.
(Inherited from cocos.actions.interval_actions.FadeOut)
Inherited from base_actions.IntervalAction: done 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

update

update(self, t)
Overrides:
FadeOut.update

__reversed__

__reversed__(self)
Overrides:
FadeOut.__reversed__