|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.b3dgs.lionengine.utility.Timer
public class Timer
Handler timer operation, in millisecond.
Constructor Summary | |
---|---|
Timer()
Create a new timer. |
Method Summary | |
---|---|
long |
elapsed()
Get number of ms elapsed since start call. |
boolean |
elapsed(long time)
Check if specific time has been elapsed. |
long |
get()
Get timer value. |
void |
start()
Start timer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Timer()
Method Detail |
---|
public void start()
public boolean elapsed(long time)
time
- time to check in ms.
public long elapsed()
public long get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |