public class TickTimer extends java.lang.Object implements ITickTimer
| Constructor and Description |
|---|
TickTimer(int ticksPerCycle,
int maxValue,
boolean countDown) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxValue() |
int |
getValue() |
static int |
getValue(long startTime,
long currentTime,
int maxValue,
int msPerCycle,
boolean countDown) |
public int getValue()
getValue in interface ITickTimerpublic int getMaxValue()
getMaxValue in interface ITickTimerpublic static int getValue(long startTime,
long currentTime,
int maxValue,
int msPerCycle,
boolean countDown)