aboutsummaryrefslogtreecommitdiff
path: root/src/example/replay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/example/replay.cpp')
-rw-r--r--src/example/replay.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/example/replay.cpp b/src/example/replay.cpp
index 2f9c63e..11413fa 100644
--- a/src/example/replay.cpp
+++ b/src/example/replay.cpp
@@ -5,7 +5,7 @@
#include <crepe/api/Config.h>
#include <crepe/api/Event.h>
#include <crepe/api/GameObject.h>
-#include <crepe/api/LoopManager.h>
+#include <crepe/api/Engine.h>
#include <crepe/api/Rigidbody.h>
#include <crepe/api/Scene.h>
#include <crepe/api/Script.h>
@@ -95,9 +95,10 @@ public:
int main(int argc, char * argv[]) {
Config & cfg = Config::get_instance();
cfg.log.level = Log::Level::DEBUG;
- LoopManager gameloop;
- gameloop.add_scene<TestScene>();
- gameloop.start();
+ Engine engine;
+
+ engine.add_scene<TestScene>();
+ engine.start();
return 0;
}