16 lines
481 B
TypeScript
16 lines
481 B
TypeScript
|
import { World } from '.';
|
||
|
import { Component } from './component';
|
||
|
import { BaseEntity } from './entity';
|
||
|
export declare class Query {
|
||
|
include: Array<Component>;
|
||
|
exclude: Array<Component>;
|
||
|
world: World;
|
||
|
id: number;
|
||
|
private results;
|
||
|
isDirty: boolean;
|
||
|
includeComponentIds: number[];
|
||
|
excludeComponentIds: number[];
|
||
|
constructor(include: Array<Component>, exclude: Array<Component>, world: World);
|
||
|
execute(): Array<BaseEntity>;
|
||
|
}
|