![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionInterval.h>
Public Member Functions | |
(id) | - initWithDuration:opacity: |
Static Public Member Functions | |
(id) | + actionWithDuration:opacity: |
Protected Attributes | |
GLubyte | _toOpacity |
GLubyte | _fromOpacity |
Fades an object that implements the CCRGBAProtocol protocol. It modifies the opacity from the current value to a custom one.
+ (id) actionWithDuration: | (ccTime) | duration | |
opacity: | (GLubyte) | opactiy | |
creates an action with duration and opacity
- (id) initWithDuration: | (ccTime) | duration | |
opacity: | (GLubyte) | opacity | |
initializes the action with duration and opacity