An action that repeats an action a finite number of times. More...
Public Member Functions | |
Repeat (ActionBase inner_action, int times) | |
Repeat constructor. | |
override void | Run () |
Kick this action. | |
override void | Stop () |
Stop this action. | |
override void | Update (float dt) |
The update function. | |
Public Attributes | |
ActionBase | InnerAction |
The action to repeat. | |
int | Times = 0 |
The number of times we want to repeat. |
An action that repeats an action a finite number of times.
Repeat | ( | ActionBase | inner_action, |
int | times | ||
) |
Repeat constructor.
inner_action | The action to repeat. |
times | The number of times the action must be repeated. |