|
@@ -22,26 +22,45 @@
|
|
|
<h2>Properties</h2>
|
|
|
|
|
|
<h3>.[page:Boolean autoStart]</h3>
|
|
|
+ <div>
|
|
|
+ If set, starts the clock automatically when the first update is called.
|
|
|
+ </div>
|
|
|
|
|
|
<h3>.[page:Float startTime]</h3>
|
|
|
+ <div>
|
|
|
+ When the clock is running, It holds the starttime of the clock. <br />
|
|
|
+ This counted from the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC.
|
|
|
+ </div>
|
|
|
+
|
|
|
|
|
|
<h3>.[page:Float oldTime]</h3>
|
|
|
+ <div>
|
|
|
+ When the clock is running, It holds the previous time from a update.<br />
|
|
|
+ This counted from the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC.
|
|
|
+ </div>
|
|
|
|
|
|
<h3>.[page:Float elapsedTime]</h3>
|
|
|
+ <div>
|
|
|
+ When the clock is running, It holds the time elapsed btween the start of the clock to the previous update.<br />
|
|
|
+ This counted from the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC.
|
|
|
+ </div>
|
|
|
|
|
|
<h3>.[page:Boolean running]</h3>
|
|
|
+ <div>
|
|
|
+ This property keeps track whether the clock is running or not.
|
|
|
+ </div>
|
|
|
|
|
|
|
|
|
<h2>Methods</h2>
|
|
|
|
|
|
<h3>.start()</h3>
|
|
|
<div>
|
|
|
- Start clock.
|
|
|
+ Starts clock.
|
|
|
</div>
|
|
|
|
|
|
<h3>.stop()</h3>
|
|
|
<div>
|
|
|
- Stop clock.
|
|
|
+ Stops clock.
|
|
|
</div>
|
|
|
|
|
|
<h3>.getElapsedTime() [page:Float]</h3>
|