|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectespresso3d.engine.base.E3DEngineItem
espresso3d.engine.timer.E3DTimer
| Constructor Summary | |
E3DTimer(E3DEngine engine)
|
|
| Method Summary | |
double |
getCurrentEngineTimeSeconds()
Returns the current engine time in seconds |
long |
getCurrentTickCount()
Gets the current tick time. |
long |
getLastTickCount()
Gets the start tick time that is stored for the last frame |
double |
getLastUpdateTimeSeconds()
Get how long it was between the last update and this update. |
long |
getTickResolution()
Returns what the tick count needs to be for 1 second. |
void |
resetTimer()
|
void |
update()
Updates the last frame time and sets the lastTickCount to be the current |
| Methods inherited from class espresso3d.engine.base.E3DEngineItem |
getEngine, setEngine |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public E3DTimer(E3DEngine engine)
| Method Detail |
public void update()
public long getLastTickCount()
public long getCurrentTickCount()
public long getTickResolution()
public double getLastUpdateTimeSeconds()
public void resetTimer()
public double getCurrentEngineTimeSeconds()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||