|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.badlogic.gdx.utils.Timer.Task
public abstract static class Timer.Task
Runnable with a cancel method.
Timer
Constructor Summary | |
---|---|
Timer.Task()
|
Method Summary | |
---|---|
void |
cancel()
Cancels the task. |
long |
getExecuteTimeMillis()
Returns the time when this task will be executed in milliseconds |
boolean |
isScheduled()
Returns true if this task is scheduled to be executed in the future by a timer. |
abstract void |
run()
If this is the last time the task will be ran or the task is first cancelled, it may be scheduled again in this method. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Timer.Task()
Method Detail |
---|
public abstract void run()
run
in interface Runnable
public void cancel()
public boolean isScheduled()
public long getExecuteTimeMillis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |