2017-12-14 02:06:28 +00:00
|
|
|
import { IGameObject } from './IGameObject';
|
2018-10-12 17:31:14 +01:00
|
|
|
import { RBush3D } from 'rbush-3d/dist';
|
|
|
|
|
import { GameObjectFull } from '../GameObjectFull';
|
2017-12-14 02:06:28 +00:00
|
|
|
export interface IObjectStore {
|
2018-10-12 17:31:14 +01:00
|
|
|
rtree?: RBush3D;
|
2017-12-14 02:06:28 +00:00
|
|
|
getObjectsByParent(parentID: number): IGameObject[];
|
|
|
|
|
shutdown(): void;
|
2018-10-12 17:31:14 +01:00
|
|
|
getObjectsInArea(minX: number, maxX: number, minY: number, maxY: number, minZ: number, maxZ: number): GameObjectFull[];
|
2017-12-14 02:06:28 +00:00
|
|
|
}
|