Skip to content

RemovedQueryInstance

Defined in: ecs/query.ts:815

The entities that lost a component since this system last ran, as Removed asked for. Yields entities only — the component is gone, so there is nothing left to read from it.

T extends AnyComponentDef

new RemovedQueryInstance<T>(world, component, lastRunTick): RemovedQueryInstance<T>

Defined in: ecs/query.ts:824

Constructing one has NO side effect on the world: a runner that builds several params and throws on a later one would otherwise leave a claim on removal history that nothing can ever release.

World

T

number

RemovedQueryInstance<T>

[iterator](): Iterator<number>

Defined in: ecs/query.ts:860

Iterator<number>

Iterable.[iterator]


isEmpty(): boolean

Defined in: ecs/query.ts:864

boolean


toArray(): number[]

Defined in: ecs/query.ts:868

number[]