Repeats an action a number of times.
More...
Inherits ActionInterval.
Repeats an action a number of times.
To repeat an action forever use the RepeatForever action.
static Repeat* create |
( |
FiniteTimeAction * |
action, |
|
|
unsigned int |
times |
|
) |
| |
|
static |
Creates a Repeat action.
Parameter times
is an unsigned integer between 1 and pow(2,30).
The action needs to repeat. The repeat times. An autoreleased Repeat object.
var create |
( |
var |
action, |
|
|
var |
times |
|
) |
| |
|
static |
Creates a Repeat action.
Parameter times
is an unsigned integer between 1 and pow(2,30).
The action needs to repeat. The repeat times. An autoreleased Repeat object.
local create |
( |
local |
action, |
|
|
local |
times |
|
) |
| |
|
static |
Creates a Repeat action.
Parameter times
is an unsigned integer between 1 and pow(2,30).
The action needs to repeat. The repeat times. An autoreleased Repeat object.
void setInnerAction |
( |
FiniteTimeAction * |
action | ) |
|
|
inline |
Sets the inner action.
The inner action.
var setInnerAction |
( |
var |
action | ) |
|
|
inline |
Sets the inner action.
The inner action.
local setInnerAction |
( |
local |
action | ) |
|
|
inline |
Sets the inner action.
The inner action.
FiniteTimeAction* getInnerAction |
( |
| ) |
|
|
inline |
Gets the inner action.
The inner action.
Gets the inner action.
The inner action.
Gets the inner action.
The inner action.
bool initWithAction |
( |
FiniteTimeAction * |
pAction, |
|
|
unsigned int |
times |
|
) |
| |
|
protected |
initializes a Repeat action.
Times is an unsigned integer between 1 and pow(2,30) The action needs to repeat. The repeat times. Return true if initialized successfully, otherwise return false.
var initWithAction |
( |
var |
pAction, |
|
|
var |
times |
|
) |
| |
|
protected |
initializes a Repeat action.
Times is an unsigned integer between 1 and pow(2,30) The action needs to repeat. The repeat times. Return true if initialized successfully, otherwise return false.
local initWithAction |
( |
local |
pAction, |
|
|
local |
times |
|
) |
| |
|
protected |
initializes a Repeat action.
Times is an unsigned integer between 1 and pow(2,30) The action needs to repeat. The repeat times. Return true if initialized successfully, otherwise return false.
The documentation for this class was generated from the following file: