aboutsummaryrefslogtreecommitdiff
path: root/game/missile/AlertScript.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/missile/AlertScript.h
parentd20b25828b53af170a6534263e8de114e7fac121 (diff)
alers scripts and quitscript with ESC key
Diffstat (limited to 'game/missile/AlertScript.h')
-rw-r--r--game/missile/AlertScript.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/game/missile/AlertScript.h b/game/missile/AlertScript.h
new file mode 100644
index 0000000..ab29863
--- /dev/null
+++ b/game/missile/AlertScript.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include "api/Script.h"
+class AlertScript : public crepe::Script {
+private:
+ bool has_alert = false;
+
+public:
+ void fixed_update(crepe::duration_t dt);
+};