![]() |
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 | |
ccColor3B | _to |
ccColor3B | _from |
Tints a CCNode that implements the CCNodeRGB protocol from current tint to a custom one.
+ (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