cocos2d for iPhone 1.0.0
2D engine for iOS and OS X
Public Member Functions | Static Public Member Functions
CCFadeTo Class Reference

#import <CCActionInterval.h>

Inheritance diagram for CCFadeTo:
Inheritance graph
[legend]
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 344 of file CCActionInterval.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 API Reference - Generated using Doxygen 1.7.4