public class Timer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Timer.Mode |
Modifier and Type | Field and Description |
---|---|
(package private) long |
fireTime |
private static Timer |
instance |
private static Timer.Mode |
mode |
Constructor and Description |
---|
Timer() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
fireTimerEvent(long time) |
private static void |
fwkSetFireTime(double fireTime) |
private static void |
fwkStopTimer() |
static Timer.Mode |
getMode() |
static Timer |
getTimer() |
void |
notifyTick() |
(package private) void |
setFireTime(long time) |
private static void |
twkFireTimerEvent() |
private static Timer instance
private static Timer.Mode mode
long fireTime
public static Timer.Mode getMode()
public static Timer getTimer()
public void notifyTick()
void fireTimerEvent(long time)
void setFireTime(long time)
private static void fwkSetFireTime(double fireTime)
fireTime
- time to wait in secondsprivate static void fwkStopTimer()
private static void twkFireTimerEvent()