Class: Chrono

Chrono

A chrono in the game

new Chrono (start)

Name Type Description
start number The start time of the chrono (in milliseconds)
Properties:
Name Type Description
time number The time in the chrono (in milliseconds)
lastTime number The last time date (in milliseconds)

Methods

getSeconds ()number

Get time time in seconds
Returns:
Type Description
number

update ()

Update the chrono