CCActionProgressFromTo Class Reference
| Inherits from | CCActionInterval : CCActionFiniteTime : CCAction : NSObject |
| Conforms to | NSCopying |
| Declared in | CCActionProgressTimer.h |
Overview
This action is for use with the CCProgressNode to control the progression from and to animation.
Class Methods
actionWithDuration:from:to:
Creates a progress action.
+ (id)actionWithDuration:(CCTime)duration from:(float)fromPercentage to:(float)toPercentageParameters
- duration
Action duration.
- fromPercentage
Percentage to start from.
- toPercentage
Percentage to end at.
Return Value
New progress action.
Declared In
CCActionProgressTimer.hInstance Methods
initWithDuration:from:to:
Initializes a progress action.
- (id)initWithDuration:(CCTime)duration from:(float)fromPercentage to:(float)toPercentageParameters
- duration
Action duration.
- fromPercentage
Percentage to start from.
- toPercentage
Percentage to end at.
Return Value
New progress action.
Declared In
CCActionProgressTimer.h