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
CCTintBy Class Reference

#import <CCActionInterval.h>

+ Inheritance diagram for CCTintBy:
+ Collaboration diagram for CCTintBy:

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Protected Attributes

GLshort _deltaR
GLshort _deltaG
GLshort _deltaB
GLshort _fromR
GLshort _fromG
GLshort _fromB

Detailed Description

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

Since:
v0.7.2

Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
red: (GLshort)  deltaRed
green: (GLshort)  deltaGreen
blue: (GLshort)  deltaBlue 

creates an action with duration and color

- (id) initWithDuration: (ccTime duration
red: (GLshort)  deltaRed
green: (GLshort)  deltaGreen
blue: (GLshort)  deltaBlue 

initializes the action with duration and color


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