Skip to content

Class: Time

Tool of time

Constructors

Properties

Constructors

constructor

new Time(): Time

Returns

Time

Properties

time

Static time: number = 0

The time the engine has been running

Defined in

src/util/Time.ts:9


frame

Static frame: number = 0

the frame count engine is running

Defined in

src/util/Time.ts:13


delta

Static delta: number = 0

Time from previous frame to present

Defined in

src/util/Time.ts:17

Released under the MIT License