![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionInterval.h>
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 |
Tints a CCNode that implements the CCNodeRGB protocol from current tint to a custom one.
+ (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