aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-09 12:58:26 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-09 12:58:26 +0100
commitd3ed3f4daa335bb881dbcf55aa425c602ddbd2f4 (patch)
tree0211b5963380fd67a97c07416bf08fb1ad060754 /src/example
parent0feda3d123ff99a1b9e41837482268bebfd9140a (diff)
changed variables
Diffstat (limited to 'src/example')
-rw-r--r--src/example/CMakeLists.txt1
-rw-r--r--src/example/gameLoop.cpp8
2 files changed, 9 insertions, 0 deletions
diff --git a/src/example/CMakeLists.txt b/src/example/CMakeLists.txt
index 36f9d4d..751b556 100644
--- a/src/example/CMakeLists.txt
+++ b/src/example/CMakeLists.txt
@@ -28,4 +28,5 @@ add_example(proxy)
add_example(db)
add_example(ecs)
add_example(scene_manager)
+add_example(gameLoop)
diff --git a/src/example/gameLoop.cpp b/src/example/gameLoop.cpp
new file mode 100644
index 0000000..f3edbdb
--- /dev/null
+++ b/src/example/gameLoop.cpp
@@ -0,0 +1,8 @@
+#include "crepe/api/LoopManager.h"
+using namespace crepe;
+
+int main(){
+ LoopManager loop;
+ loop.start();
+ return 1;
+}