Skip to main content
Module

x/oid/mod.ts>RunState

oidoid 2D game engine.
Go to Latest
interface RunState
Re-export
import { type RunState } from "https://deno.land/x/oid@v0.0.8/mod.ts";

Type Parameters

T
optional
FilmID extends Aseprite.FileTag = Aseprite.FileTag

Properties

readonly
ecs: ECS<T>
readonly
filmByID: FilmByID<FilmID>
readonly
input: Readonly<Input>
readonly
time: number

The running age in milliseconds.

readonly
tick: number

The exact duration in milliseconds to apply on a given update step.

readonly
cam: Readonly<Cam>
readonly
instanceBuffer: InstanceBuffer
readonly
rendererStateMachine: RendererStateMachine
optional
pickHandled: boolean

Methods

random(): number