CCActionEaseElastic Class Reference
| Inherits from | CCActionEase : CCActionInterval : CCActionFiniteTime : CCAction : NSObject |
| Conforms to | NSCopying |
| Declared in | CCActionEase.h |
Overview
CCActionEaseElastic adds a period property and applies a dampened oscillation to the specified action.
Class Methods
actionWithAction:period:
Creates the action with the inner action and the period in radians (default is 0.3).
+ (id)actionWithAction:(CCActionInterval *)action period:(float)periodParameters
- action
Action to apply ease action to.
- period
eriod of wave in radians.
Return Value
New elastic action.
Declared In
CCActionEase.hInstance Methods
initWithAction:period:
Initializes the action with the inner action and the period in radians (default is 0.3).
- (id)initWithAction:(CCActionInterval *)action period:(float)periodParameters
- action
Action to apply ease action to.
- period
eriod of wave in radians.
Return Value
New elastic action.
Declared In
CCActionEase.h