Renderer/assets/Scripts/engine/engine-interface.ts
austin 6791ce2f3b
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
scripts architecture work
2024-07-16 14:29:20 -04:00

31 lines
623 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
*/
readonly classes: any,
/**
* The singletons available to the script engine
*/
readonly singletons: any,
/**
* Manages all script-defined hooks in the engine
*/
readonly hookManager: HookManager,
/**
* Tracks and loads scenes
*/
readonly sceneLoader: SceneLoader,
}