diff --git a/program/main.cpp b/program/main.cpp new file mode 100644 index 0000000..b6a037e --- /dev/null +++ b/program/main.cpp @@ -0,0 +1,21 @@ +#include "game_engine.h" +#include "ui_system.h" + +int main() { + GameEngine engine; + UISystem ui; + + engine.initialize(); + ui.initialize(); + + while (true) { + engine.update(0.016); // Предполагаем фиксированный таймстеп + ui.update(0.016); + engine.render(); + ui.render(); + } + + engine.shutdown(); + ui.shutdown(); + return 0; +} \ No newline at end of file