aboutsummaryrefslogtreecommitdiff
path: root/game/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/main.cpp')
-rw-r--r--game/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/game/main.cpp b/game/main.cpp
new file mode 100644
index 0000000..325b66d
--- /dev/null
+++ b/game/main.cpp
@@ -0,0 +1,13 @@
+#include <crepe/api/Engine.h>
+#include <crepe/api/Script.h>
+
+#include "GameScene.h"
+
+using namespace crepe;
+
+int main() {
+ Engine gameloop;
+ gameloop.add_scene<GameScene>();
+
+ return gameloop.main();
+}