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 | dbe642e5e26cf2bd99218f727157b58c7fed286e (patch) | |
| tree | b964424747bdd0b143a4dfac894aee61fd752302 /src/main.cpp | |
| parent | d6b9f6c8fad3e46caca5dc167ce1cbf5ccfb489e (diff) | |
feat: 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 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; } |
