diff options
| author | hachem <im@hachem.wtf> | 2025-08-12 16:35:42 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-12 16:35:42 +0200 |
| commit | 16dff443789c7f1461b46ce52966972ae14c042b (patch) | |
| tree | afbaf901703c05cbb5eb18f3333898eb498d2e54 /src/main.cpp | |
| parent | ed6de8793f267fb1fc5c9af2e68cd4e573ee1d25 (diff) | |
[add]: Application manager and EventDispatcher
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 14 |
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 |
