Renderer/assets/Scripts/engine/engine-interface.ts
2024-07-14 16:00:35 -04:00

31 lines
587 B
TypeScript

import { HookManager } from "/Scripts/engine/hooks/hook-manager";
import { SceneLoader } from "/Scripts/engine/scene/scene-loader";
/**
* The host context that contains all core engine functions
*/
export interface Engine {
/**
* The host's view of the scripting engine
*/
classes: any,
/**
* The singletons available to the script engine
*/
singletons: any,
/**
* Manages all script-defined hooks in the engine
*/
hookManager: HookManager,
/**
* Tracks and loads scenes
*/
sceneLoader: SceneLoader,
}