Interface: EcsSystem<Q, K>
Defined in: new-ecs/ecs-system.ts:4
Type Parameters
Q
Q extends readonly unknown[] = readonly unknown[]
K
K = null
Properties
query
query:
KeysFromComponents<Q>
Defined in: new-ecs/ecs-system.ts:8
tags?
optionaltags:TagKey[]
Defined in: new-ecs/ecs-system.ts:9
Methods
beforeQuery()?
optionalbeforeQuery(world):K
Defined in: new-ecs/ecs-system.ts:11
Parameters
world
Returns
K
run()
run(
components,world,beforeQueryResult):void
Defined in: new-ecs/ecs-system.ts:10
Parameters
components
QueryResult<Q>
world
beforeQueryResult
K
Returns
void