|
Sprites for Processing
V2.1
|
Public Member Functions | |
| StopWatch () | |
| void | reset () |
| double | getRunTime () |
| double | getElapsedTime () |
Determines the runtime and elapsed time in seconds.
| sprites.utils.StopWatch.StopWatch | ( | ) |
Create a stop watch and initialise it to the current time.
| double sprites.utils.StopWatch.getElapsedTime | ( | ) |
Get the elapsed time since this method was called.
| double sprites.utils.StopWatch.getRunTime | ( | ) |
Get the time since the stop watch was created or last reset.
| void sprites.utils.StopWatch.reset | ( | ) |
Initialise the stop-watch to the current time.