aboutsummaryrefslogtreecommitdiff
path: root/src/example/game.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-20 12:05:52 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-20 12:05:52 +0100
commit74f70c61a37c94727e1411696f050cf588cf3446 (patch)
tree389c1e1a9b4b3a94dc9c10a94f00b28fe1e007ff /src/example/game.cpp
parent79d3a9f4311e6684b6df83a15ca7844f58c1959c (diff)
Fix merge issues
Diffstat (limited to 'src/example/game.cpp')
-rw-r--r--src/example/game.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/example/game.cpp b/src/example/game.cpp
index 378a64a..b9f98fc 100644
--- a/src/example/game.cpp
+++ b/src/example/game.cpp
@@ -1,13 +1,13 @@
#include "GameScene.h"
-#include <crepe/api/LoopManager.h>
+#include <crepe/api/Engine.h>
using namespace crepe;
using namespace std;
int main(int argc, char * argv[]) {
- LoopManager gameloop;
+ Engine gameloop;
gameloop.add_scene<GameScene>();
- gameloop.start();
- return 0;
+
+ return gameloop.main();
}