Nerfed/Nerfed.Editor/Program.cs
2024-07-12 17:27:01 +02:00

38 lines
703 B
C#

using Nerfed.Runtime;
namespace Nerfed.Editor;
internal class Program
{
private static void Main(string[] args)
{
Engine.OnInitialize += HandleOnInitialize;
Engine.OnUpdate += HandleOnUpdate;
Engine.OnRender += HandleOnRender;
Engine.OnQuit += HandleOnQuit;
Engine.Run(args);
}
private static void HandleOnInitialize()
{
// Open project.
// Setip EditorGui.
}
private static void HandleOnUpdate()
{
// Editor Update.
// Try Catch UserCode Update.
}
private static void HandleOnRender()
{
// Editor GUI Render.
}
private static void HandleOnQuit()
{
}
}