добавлен main.cpp

This commit is contained in:
Maxim Slipenko 2024-02-14 17:31:09 +03:00
parent aa61a2712c
commit b1f4c02c69

21
program/main.cpp Normal file
View File

@ -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;
}