aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-12 16:35:42 +0200
committerhachem <im@hachem.wtf>2025-08-12 16:35:42 +0200
commit16dff443789c7f1461b46ce52966972ae14c042b (patch)
treeafbaf901703c05cbb5eb18f3333898eb498d2e54 /src/main.cpp
parented6de8793f267fb1fc5c9af2e68cd4e573ee1d25 (diff)
[add]: Application manager and EventDispatcher
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp14
1 files changed, 6 insertions, 8 deletions
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