A simple clock class.
It keeps track of the start time, and it knows how to calculate the current time relative to the start time.
Public Member Functions |
|
float | getCurrentTime () |
Returns the current time in number of
seconds elapsed since the clock got started. |
|
setAdjustment (float amount) | |
float | getAdjustment () |
float awSupport.Clock.getCurrentTime | ( | ) |
Returns the current time in number of seconds elapsed since the clock got started.
If the clock has not already been started it will be.
awSupport.Clock.setAdjustment | ( | float | amount | ) |
float awSupport.Clock.getAdjustment | ( | ) |