Repeat Class Reference

An action that repeats an action a finite number of times. More...

Inheritance diagram for Repeat:
ActionBase

List of all members.

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.

Detailed Description

An action that repeats an action a finite number of times.


Constructor & Destructor Documentation

Repeat ( ActionBase  inner_action,
int  times 
)

Repeat constructor.

Parameters:
inner_actionThe action to repeat.
timesThe number of times the action must be repeated.