Constructors
constructor
- new Clock(autostart?: boolean): Clock
-
Parameters
-
autostart: boolean = true
Properties
Private elapsedTime
elapsedTime: number = 0
Private oldTime
oldTime: number = 0
Private running
running: boolean = false
Private startTime
startTime: number = 0