aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonSetShopSubScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/menus/ButtonSetShopSubScript.h')
-rw-r--r--game/menus/ButtonSetShopSubScript.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/game/menus/ButtonSetShopSubScript.h b/game/menus/ButtonSetShopSubScript.h
new file mode 100644
index 0000000..8edc7bf
--- /dev/null
+++ b/game/menus/ButtonSetShopSubScript.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "IButtonScript.h"
+
+#include <crepe/api/Script.h>
+
+class ButtonSetShopSubScript : public IButtonScript {
+public:
+ void init() override;
+ bool on_button_press(const crepe::ButtonPressEvent& e);
+private:
+ float velocity = 20;
+protected:
+ bool transition = false;
+};