- Implement 3D space rtree-based indexing in the Full ObjectStore
- Implement ScriptDialogReply thanks to Hintswen - Add a rudimentary object search - doesn't work fully yet because of the missing messages
This commit is contained in:
4
dist/classes/interfaces/IObjectStore.d.ts
vendored
4
dist/classes/interfaces/IObjectStore.d.ts
vendored
@@ -1,5 +1,9 @@
|
||||
import { IGameObject } from './IGameObject';
|
||||
import { RBush3D } from 'rbush-3d/dist';
|
||||
import { GameObjectFull } from '../GameObjectFull';
|
||||
export interface IObjectStore {
|
||||
rtree?: RBush3D;
|
||||
getObjectsByParent(parentID: number): IGameObject[];
|
||||
shutdown(): void;
|
||||
getObjectsInArea(minX: number, maxX: number, minY: number, maxY: number, minZ: number, maxZ: number): GameObjectFull[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user