Skip to main content
Module

x/oid/mod.ts>System

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

Type Parameters

T
optional
Update extends ECSUpdate = ECSUpdate

Properties

readonly
query: Set<keyof T>

These are the keys populated in each set.

Methods

optional
skip(update: Update): boolean

If specified, returns true if this update should be skipped (for performance).

optional
update(sets: Set<T>, update: Update): void

If specified, called once for all matching ents.

optional
updateEnt(set: T, update: Update): void

If specified and update() is not, called for each matching ent.