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, toString
protected boolean delegate(float delta)
delegate
in class DelegateAction
public void finish()
public void restart()
Action
restart
in class DelegateAction
public float getTime()
public void setTime(float time)
public float getDuration()
public void setDuration(float duration)