Axmol Engine 2.4.0-258ceca
|
Repeats an action for ever. More...
#include <ActionInterval.h>
Inherits ActionInterval.
Public Member Functions | |
void | setInnerAction (ActionInterval *action) |
Sets the inner action. | |
ActionInterval * | getInnerAction () |
Gets the inner action. | |
virtual void | step (float dt) override |
bool | initWithAction (ActionInterval *action) |
initializes the action | |
![]() | |
float | getElapsed () |
How many seconds had elapsed since the actions started to run. | |
void | setAmplitudeRate (float amp) |
Sets the amplitude rate, extension in GridAction. | |
float | getAmplitudeRate () |
Gets the amplitude rate, extension in GridAction. | |
bool | initWithDuration (float d) |
initializes the action | |
Static Public Member Functions | |
static RepeatForever * | create (ActionInterval *action) |
Creates the action. | |
Repeats an action for ever.
To repeat the an action for a limited number of times use the Repeat action.
|
static |
Creates the action.
action | The action need to repeat forever. |
|
inline |
Sets the inner action.
action | The inner action. |
|
inline |
Gets the inner action.
|
overridevirtual |
dt | In seconds. |
Reimplemented from ActionInterval.