Public Member Functions | Static Public Member Functions

CCFadeTo Class Reference

#import <CCIntervalAction.h>

Inherits CCIntervalAction.

Collaboration diagram for CCFadeTo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:opacity:

Static Public Member Functions

(id) + actionWithDuration:opacity:

Detailed Description

Fades an object that implements the CCRGBAProtocol protocol. It modifies the opacity from the current value to a custom one.

Warning:
This action doesn't support "reverse"

Definition at line 305 of file CCIntervalAction.h.


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:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

cocos2d for iPhone 0.99.4 API Reference - Generated using Doxygen 1.7.1