aboutsummaryrefslogtreecommitdiff
path: root/game/QuitScript.h
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2025-01-10 14:47:17 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2025-01-10 14:47:17 +0100
commitbcf9bd69f173ecee0104c84e4eadc990f17569c6 (patch)
tree712d36dec5257a5524269dde85345ceaf90504d1 /game/QuitScript.h
parent433c840c14782d84b4b95265b3e6f7a1f67ade3b (diff)
parent798237b661e8e49284e78ffb1a16599cf6a46a6d (diff)
Merge remote-tracking branch 'origin/master' into max/game2
Diffstat (limited to 'game/QuitScript.h')
-rw-r--r--game/QuitScript.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/game/QuitScript.h b/game/QuitScript.h
new file mode 100644
index 0000000..b79a744
--- /dev/null
+++ b/game/QuitScript.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <crepe/api/Script.h>
+
+class QuitScript : public crepe::Script {
+private:
+ bool on_event(const crepe::KeyPressEvent & ev);
+
+public:
+ void init();
+};