Repeats an action a number of times.
More...
#include <ActionInterval.h>
Inherits ActionInterval.
|
| static Repeat * | create (FiniteTimeAction *action, unsigned int times) |
| | Creates a Repeat action.
|
Repeats an action a number of times.
To repeat an action forever use the RepeatForever action.
◆ create()
| Repeat * create |
( |
FiniteTimeAction * | action, |
|
|
unsigned int | times ) |
|
static |
Creates a Repeat action.
Times is an unsigned integer between 1 and pow(2,30).
- Parameters
-
| action | The action needs to repeat. |
| times | The repeat times. |
- Returns
- An autoreleased Repeat object.
◆ setInnerAction()
| void setInnerAction |
( |
FiniteTimeAction * | action | ) |
|
|
inline |
Sets the inner action.
- Parameters
-
◆ getInnerAction()
| FiniteTimeAction * getInnerAction |
( |
| ) |
|
|
inline |
Gets the inner action.
- Returns
- The inner action.
◆ update()
◆ initWithAction()
| bool initWithAction |
( |
FiniteTimeAction * | pAction, |
|
|
unsigned int | times ) |
initializes a Repeat action.
Times is an unsigned integer between 1 and pow(2,30)
The documentation for this class was generated from the following file: