Skip to content

1681-engine / index / System

Interface: System ​

Defined in: src/ecs/World.ts:61

Properties ​

name ​

ts
readonly name: string;

Defined in: src/ecs/World.ts:62


phase ​

ts
readonly phase: SystemPhase;

Defined in: src/ecs/World.ts:63

Methods ​

dispose()? ​

ts
optional dispose(): void;

Defined in: src/ecs/World.ts:66

Called when the system is taken out of its world (or the world is cleared).

Returns ​

void


run() ​

ts
run(ctx): void;

Defined in: src/ecs/World.ts:64

Parameters ​

ParameterType
ctxSystemContext

Returns ​

void

Released under the MIT License.