UNPKG

@valeera/x

Version:

ECS framework written in TS for web application.

7 lines (5 loc) 253 B
import type { Entity } from "./Entity"; import type { System } from "./System"; import type { World } from "./World"; export const EntitiesCache = new WeakMap<World, Set<Entity>>(); export const SystemOrderCache = new WeakMap<World, System[]>();