Skip to content

SystemOver beta ​

TypeAlias of @v12-engine/engine

ts
export type SystemOver = 'units' | Component<unknown, unknown> | ((entity: Entity, world: World) => boolean);

What a system runs each for (System.over): every unit, what has a component, or the units a test says yes to