31 lines
		
	
	
		
			587 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			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,
 | |
| 
 | |
| }
 |