public class Timer extends Object
Constructor and Description |
---|
Timer() |
Modifier and Type | Method and Description |
---|---|
long |
elapsedTime()
Get the elapsed time of last update.
|
void |
reset()
Reset time.
|
long |
update()
Calculate the elapsed time since the last update or reset.
|
public void reset()
public long update()
public long elapsedTime()
update()
Copyright © 2017. All rights reserved.