aboutsummaryrefslogtreecommitdiff
path: root/src/example/StartGameScript.h
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-19 11:21:37 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-19 11:21:37 +0100
commitea970a901d169824a99a336eacd06ebc032e5f66 (patch)
tree6f939f3a3a9593c0c4cceacd202665f83b7073f6 /src/example/StartGameScript.h
parentedd5fd83f4a5337ba06955bd59a136f7eb699234 (diff)
Moved scripts to seperate files
Diffstat (limited to 'src/example/StartGameScript.h')
-rw-r--r--src/example/StartGameScript.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/example/StartGameScript.h b/src/example/StartGameScript.h
new file mode 100644
index 0000000..f3534d0
--- /dev/null
+++ b/src/example/StartGameScript.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <crepe/api/Script.h>
+
+class StartGameScript : public crepe::Script {
+public:
+ void update();
+
+private:
+ bool created_hole = false;
+ bool took_jetpack = false;
+};