API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

N

namespaceTime

@codexo/exojs / core / stable

Constructors for the engine's time units. Grouped rather than exported loose because `seconds`, `minutes` and `hours` are names application code is likely to want for its own variables. ```ts const cooldown = new Timer(Time.seconds(1.5), true); scene.onFixedFrame.add(step => body.x += speed * step); ```

6
props
0
methods
0
events
Import
import { Time } from '@codexo/exojs'

Constructors for the engine's time units.

Grouped rather than exported loose because `seconds`, `minutes` and `hours` are names application code is likely to want for its own variables.

```ts const cooldown = new Timer(Time.seconds(1.5), true); scene.onFixedFrame.add(step => body.x += speed * step); ```

Properties6
Source