aboutsummaryrefslogtreecommitdiff
path: root/game/QuitScript.h
diff options
context:
space:
mode:
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();
+};