Public Member Functions | Static Public Member Functions

CCTintTo Class Reference

#import <CCActionInterval.h>

Inherits CCActionInterval.

Collaboration diagram for CCTintTo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:red:green:blue:

Static Public Member Functions

(id) + actionWithDuration:red:green:blue:

Detailed Description

Tints a CCNode that implements the CCNodeRGB protocol from current tint to a custom one.

Warning:
This action doesn't support "reverse"
Since:
v0.7.2

Definition at line 321 of file CCActionInterval.h.


Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
red: (GLubyte)  red
green: (GLubyte)  green
blue: (GLubyte)  blue 

creates an action with duration and color

- (id) initWithDuration: (ccTime duration
red: (GLubyte)  red
green: (GLubyte)  green
blue: (GLubyte)  blue 

initializes the action with duration and color


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.5 API Reference - Generated using Doxygen 1.7.1