All Bundles

Timer

Provides elapsed time

Operations

New

Constructor

New(start:Bool)
Parameters
NameTypeDescription
startBoolflag, start timer after instantiation, default = true

End

Ends the timer

method : public : End() ~ Nil

GetElapsedTime

Gets the elapsed time in seconds

method : public : GetElapsedTime() ~ Float

Start

Starts the timer

method : public : Start() ~ Nil

ToString

Formats the timer into a string

method : public : ToString() ~ String
Return
TypeDescription
Stringformatted string