aboutsummaryrefslogtreecommitdiff
path: root/game/QuitScript.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 12:05:16 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 12:05:16 +0100
commit15a958a7f327bb2e81e7d445f1499ec78c7f5839 (patch)
tree335754f27b42f00353be643c2f01240ec7a2bcc4 /game/QuitScript.h
parentd20b25828b53af170a6534263e8de114e7fac121 (diff)
alers scripts and quitscript with ESC key
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..c295183
--- /dev/null
+++ b/game/QuitScript.h
@@ -0,0 +1,11 @@
+#pragma once
+
+
+#include "api/Script.h"
+class QuitScript : public crepe::Script {
+private:
+ bool on_event(const crepe::KeyPressEvent & ev);
+
+public:
+ void init();
+};