![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionProgressTimer.h>
Public Member Functions | |
(id) | - initWithDuration:from:to: |
Static Public Member Functions | |
(id) | + actionWithDuration:from:to: |
Protected Attributes | |
float | _to |
float | _from |
Progress from a percentage to another percentage
+ (id) actionWithDuration: | (ccTime) | duration | |
from: | (float) | fromPercentage | |
to: | (float) | toPercentage | |
Creates and initializes the action with a duration, a "from" percentage and a "to" percentage
- (id) initWithDuration: | (ccTime) | duration | |
from: | (float) | fromPercentage | |
to: | (float) | toPercentage | |
Initializes the action with a duration, a "from" percentage and a "to" percentage