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