Skip to content

SystemOptions

Defined in: ecs/system.ts:174

Ordering a system carries with it. The names are matched against other systems’ names and against SystemSet names, so a set can be ordered against without knowing which systems are in it.

optional name?: string

Defined in: ecs/system.ts:176

Name other systems reference in their ordering edges.


optional runAfter?: string[]

Defined in: ecs/system.ts:180

This system runs after each of these names (a system or a set).


optional runBefore?: string[]

Defined in: ecs/system.ts:178

This system runs before each of these names (a system or a set).


optional touches?: SystemTouches | (() => SystemTouches)

Defined in: ecs/system.ts:188

What the system reaches for through GetWorld. See SystemTouches.

A function is re-read every time the access is, which is what lets a system running authored data (an FSM, a behaviour tree) answer from the data actually loaded rather than from everything it could ever be handed.