aboutsummaryrefslogtreecommitdiff
path: root/src/example/game.cpp
diff options
context:
space:
mode:
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();
}