cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCTintTo Class Reference

#import <CCActionInterval.h>

+ Inheritance diagram for CCTintTo:
+ Collaboration diagram for CCTintTo:

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Protected Attributes

ccColor3B _to
ccColor3B _from

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

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: