Add ObjectStoreLite to reduce memory footprint if the full object data is not needed
This commit is contained in:
5
lib/classes/interfaces/IGameObject.ts
Normal file
5
lib/classes/interfaces/IGameObject.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export interface IGameObject
|
||||
{
|
||||
hasNameValueEntry(key: string): boolean;
|
||||
getNameValueEntry(key: string): string;
|
||||
}
|
||||
7
lib/classes/interfaces/IObjectStore.ts
Normal file
7
lib/classes/interfaces/IObjectStore.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import {IGameObject} from './IGameObject';
|
||||
|
||||
export interface IObjectStore
|
||||
{
|
||||
getObjectsByParent(parentID: number): IGameObject[];
|
||||
shutdown(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user