public class DelayAction extends DelegateAction
SequenceAction.action| Constructor and Description |
|---|
DelayAction() |
DelayAction(float duration) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
delegate(float delta) |
void |
finish()
Causes the delay to be complete.
|
float |
getDuration() |
float |
getTime()
Gets the time spent waiting for the delay.
|
void |
restart()
Sets the state of the action so it can be run again.
|
void |
setDuration(float duration)
Sets the length of the delay in seconds.
|
void |
setTime(float time)
Sets the time spent waiting for the delay.
|
act, getAction, reset, setAction, setActor, setTarget, toStringprotected boolean delegate(float delta)
delegate in class DelegateActionpublic void finish()
public void restart()
Actionrestart in class DelegateActionpublic float getTime()
public void setTime(float time)
public float getDuration()
public void setDuration(float duration)