public class RepeatAction extends DelegateAction
| Modifier and Type | Field and Description |
|---|---|
static int |
FOREVER |
action| Constructor and Description |
|---|
RepeatAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
act(float delta)
Updates the action based on time.
|
void |
finish()
Causes the action to not repeat again.
|
int |
getCount() |
void |
restart()
Sets the state of the action so it can be run again.
|
void |
setCount(int count)
Sets the number of times to repeat.
|
public static final int FOREVER
public boolean act(float delta)
ActionActor.act(float).public void finish()
public void restart()
Actionrestart in class DelegateActionpublic void setCount(int count)
FOREVER.public int getCount()