| Constructor and Description |
|---|
DefaultTimepiece() |
DefaultTimepiece(float maxDeltaTime) |
| Modifier and Type | Method and Description |
|---|---|
float |
getDeltaTime()
Returns the time span between the current frame and the last frame in seconds.
|
float |
getTime()
Returns the time accumulated up to the current frame in seconds.
|
void |
update(float deltaTime)
Updates this timepiece with the given delta time.
|
public DefaultTimepiece()
public DefaultTimepiece(float maxDeltaTime)
public float getTime()
Timepiecepublic float getDeltaTime()
TimepiecegetDeltaTime in interface TimepieceCopyright © 2017. All rights reserved.