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 |
|---|---|
protected boolean |
delegate(float delta) |
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.
|
act, getAction, reset, setAction, setActor, setTarget, toStringpublic static final int FOREVER
protected boolean delegate(float delta)
delegate in class DelegateActionpublic void finish()
public void restart()
Actionrestart in class DelegateActionpublic void setCount(int count)
FOREVER.public int getCount()