Stopwatch

From Crumbled World Wiki
Revision as of 14:26, 5 July 2025 by Anders (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

StopwatchExampleCode

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.