|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threed.jpct.skeleton.util.Timer
public class Timer
A simple timer implementation, to count the time in seconds from the last reset. TODO: Use a timing source with a better granularity(like gage?).
| Constructor Summary | |
|---|---|
Timer()
|
|
| Method Summary | |
|---|---|
double |
getTime()
Returns the seconds that have elapsed since the last reset. |
void |
reset()
Resets the timer. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Timer()
| Method Detail |
|---|
public double getTime()
public void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||