FadeTo Class Reference

#import <IntervalAction.h>

Inherits IntervalAction.

Collaboration diagram for FadeTo:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:opacity:

Static Public Member Functions

(id) + actionWithDuration:opacity:


Detailed Description

Fades a CocosNode that implements the CocosNodeOpacity protocol from current opacity to a custom one.
Warning:
This action doesn't support "reverse"

Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
opacity: (GLubyte)  opactiy 

creates an action with duration and opactiy

- (id) initWithDuration: (ccTime duration
opacity: (GLubyte)  opacity 

initializes the action with duration and opacity


The documentation for this class was generated from the following file:

Generated on Tue Jun 9 10:39:36 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8