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, toString
public static final int FOREVER
protected boolean delegate(float delta)
delegate
in class DelegateAction
public void finish()
public void restart()
Action
restart
in class DelegateAction
public void setCount(int count)
FOREVER
.public int getCount()