CCActionRepeat Class Reference
| Inherits from | CCActionInterval : CCActionFiniteTime : CCAction : NSObject |
| Conforms to | NSCopying |
| Declared in | CCActionInterval.h |
Overview
This action will repeat the specified action a number of times. If you wish to repeat an action forever, please use the CCRepeatForever action.
Class Methods
actionWithAction:times:
Creates a repeat action. Times is an unsigned integer between 1 and MAX_UINT.
+ (id)actionWithAction:(CCActionFiniteTime *)action times:(NSUInteger)timesParameters
- action
Action to repeat.
- times
Number of times to repeat action.
Return Value
New action repeat
Declared In
CCActionInterval.hInstance Methods
initWithAction:times:
Initializes a CCRepeat action. Times is an unsigned integer between 1 and MAX_UINT.
- (id)initWithAction:(CCActionFiniteTime *)action times:(NSUInteger)timesParameters
- action
Action to repeat.
- times
Number of times to repeat action.
Return Value
New action repeat.
Declared In
CCActionInterval.h