From 16dff443789c7f1461b46ce52966972ae14c042b Mon Sep 17 00:00:00 2001 From: hachem Date: Tue, 12 Aug 2025 16:35:42 +0200 Subject: [add]: Application manager and EventDispatcher --- src/main.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 7637a5b..1290268 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,11 +1,9 @@ -#include "Core/Window.h" +#include "Core/Application.h" int main() -{ - Donut::Window window("Donut", 1280, 720); - - while (!window.ShouldClose()) - { - window.OnUpdate(); - } +{ + Donut::Application* app = new Donut::Application() ; + app->Run(); + delete app; + return 0; } \ No newline at end of file -- cgit v1.3