From dbe642e5e26cf2bd99218f727157b58c7fed286e Mon Sep 17 00:00:00 2001 From: hachem Date: Tue, 12 Aug 2025 16:35:42 +0200 Subject: feat: 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 c6bbd94..2578eb2 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.should_close()) - { - window.on_update(); - } +{ + Donut::Application* app = new Donut::Application() ; + app->run(); + delete app; + return 0; } -- cgit v1.3