Initial commit
This commit is contained in:
21
Awperative/Kernel/Overhead/Core.cs
Normal file
21
Awperative/Kernel/Overhead/Core.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
namespace Gravity.Kernel;
|
||||
|
||||
|
||||
public static class Core
|
||||
{
|
||||
public static Base Base;
|
||||
public static List<Scene> LoadedScenes => Base.LoadedScenes;
|
||||
|
||||
public static List<AwperativeHook> ScriptingHooks;
|
||||
|
||||
//hooks are called in order
|
||||
public static void Start(List<AwperativeHook> __hooks) {
|
||||
ScriptingHooks = __hooks;
|
||||
|
||||
Base = new Base();
|
||||
Base.Run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user