public class DelayAction extends DelegateAction
SequenceAction.action| Constructor and Description |
|---|
DelayAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
act(float delta)
Updates the action based on time.
|
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.
|
public boolean act(float delta)
ActionActor.act(float).public void finish()
public void restart()
Actionrestart in class DelegateActionpublic float getTime()
public void setTime(float time)
public float getDuration()
public void setDuration(float duration)