StopWatch

Provides a timer to calculate the duration of a task.

Constructor

new L3D.StopWatch()

Properties

duration number

How long the stopwatch has been running.

isRunning bool

True if the stop-watch has been started.

Methods

start()

Start running the stopwatch, marking the start time.

stop()

Mark the start time of the stopwatch.