From a0bf7eabac106c211161bed7d9132292d95f804a Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Wed, 14 Feb 2024 17:31:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20main.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- program/main.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 program/main.cpp diff --git a/program/main.cpp b/program/main.cpp new file mode 100644 index 0000000..f3e8416 --- /dev/null +++ b/program/main.cpp @@ -0,0 +1,14 @@ +#include "game_engine.h" + +int main() { + GameEngine engine; + engine.initialize(); + + while (true) { + engine.update(0.016); // Предполагаем фиксированный таймстеп + engine.render(); + } + + engine.shutdown(); + return 0; +}