mirror of
https://github.com/Maks1mS/pppi-rpg-game.git
synced 2024-12-23 14:22:59 +03:00
добавлен main.cpp
This commit is contained in:
parent
7ea582ce17
commit
a0bf7eabac
14
program/main.cpp
Normal file
14
program/main.cpp
Normal file
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user