Skip to content

SystemDef ​

TypeAlias of @v12-engine/engine

ts
export type SystemDef = System | ((world: World) => System);

A system, or what makes one for each world: for a system that keeps state of its own, which belongs to one game