Class Time
Constructors
constructor
- new Time(context: Context): Time
-
Parameters
Methods
registerRenderFunction
- registerRenderFunction(update: (timePassedMs: number) => void): void
-
Parameters
-
update: (timePassedMs: number) => void
-
- (timePassedMs: number): void
Returns void
Registers a function to render loop