public class DelayAction extends DelegateAction
SequenceAction
.Constructor and Description |
---|
DelayAction() |
DelayAction(float duration) |
Modifier and Type | Method and Description |
---|---|
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
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)
Copyright © 2015. All rights reserved.