aboutsummaryrefslogtreecommitdiff
path: root/src/example/gameloop.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-09 13:39:23 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-09 13:39:23 +0100
commitb03f3a6300668550afa4d318e520a628a40fc76e (patch)
tree3e7748e1f0c23d6c8ef3808fa68f1e4dc9da42fd /src/example/gameloop.cpp
parentd23b23610f75797ff37cfd73881c6fd7d5a21c88 (diff)
added gameloop example
Diffstat (limited to 'src/example/gameloop.cpp')
-rw-r--r--src/example/gameloop.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/example/gameloop.cpp b/src/example/gameloop.cpp
new file mode 100644
index 0000000..6cd0301
--- /dev/null
+++ b/src/example/gameloop.cpp
@@ -0,0 +1,7 @@
+#include "crepe/api/LoopManager.h"
+using namespace crepe;
+int main(){
+ LoopManager gameloop;
+ gameloop.start();
+ return 1;
+}