Stopwatch: Difference between revisions
From Crumbled World Wiki
(Created page with "{{:StopwatchExampleCode}} ==Constructor== {| class="wikitable" !|function !|description |- |Stopwatch() | |- |} ==Functions== {| class="wikitable" !|return !|function !|description |- | |start() |reset and start watch. |- |float |stop() |Stop watch and return total run time. |- |float |lapTime() |return current time sence start. |- |float |totalRunningTime() |return tie se...") |
(No difference)
|
Latest revision as of 14:26, 5 July 2025
Constructor
| function | description |
|---|---|
| Stopwatch() |
Functions
| return | function | description |
|---|---|---|
| start() | reset and start watch. | |
| float | stop() | Stop watch and return total run time. |
| float | lapTime() | return current time sence start. |
| float | totalRunningTime() | return tie sence the stopwatch was first started. |