mirror of
https://github.com/Ukendio/jecs.git
synced 2026-02-04 15:15:21 +00:00
only keep query has
This commit is contained in:
parent
57ff16398a
commit
dc0e5f8b64
1 changed files with 0 additions and 14 deletions
14
src/jecs.d.ts
vendored
14
src/jecs.d.ts
vendored
|
|
@ -79,14 +79,6 @@ export type CachedQuery<T extends Id[]> = {
|
|||
archetypes(): Archetype<T>[];
|
||||
|
||||
has(entity: Entity): boolean;
|
||||
|
||||
ids: Id<any>[];
|
||||
|
||||
filter_with?: Id<any>[];
|
||||
|
||||
filter_without?: Id<any>[];
|
||||
|
||||
archetypes_map: Map<number, number>;
|
||||
} & Iter<T>;
|
||||
|
||||
export type Query<T extends Id[]> = {
|
||||
|
|
@ -123,12 +115,6 @@ export type Query<T extends Id[]> = {
|
|||
archetypes(): Archetype<T>[];
|
||||
|
||||
has(entity: Entity): boolean;
|
||||
|
||||
ids: Id<any>[];
|
||||
|
||||
filter_with?: Id<any>[];
|
||||
|
||||
filter_without?: Id<any>[];
|
||||
} & Iter<T>;
|
||||
|
||||
export class World {
|
||||
|
|
|
|||
Loading…
Reference in a new issue