aboutsummaryrefslogtreecommitdiff
path: root/src/example/MoveCameraManualyScript.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/MoveCameraManualyScript.h
parentedd5fd83f4a5337ba06955bd59a136f7eb699234 (diff)
Moved scripts to seperate files
Diffstat (limited to 'src/example/MoveCameraManualyScript.h')
-rw-r--r--src/example/MoveCameraManualyScript.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/example/MoveCameraManualyScript.h b/src/example/MoveCameraManualyScript.h
new file mode 100644
index 0000000..5a09055
--- /dev/null
+++ b/src/example/MoveCameraManualyScript.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <crepe/api/Script.h>
+
+class MoveCameraManualyScript : public crepe::Script {
+public:
+ void init();
+
+private:
+ bool keypressed(const crepe::KeyPressEvent & event);
+};