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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/game/menus/ButtonSetShopSubScript.h b/game/menus/ButtonSetShopSubScript.h
index 8edc7bf..7a96cdf 100644
--- a/game/menus/ButtonSetShopSubScript.h
+++ b/game/menus/ButtonSetShopSubScript.h
@@ -7,9 +7,11 @@
class ButtonSetShopSubScript : public IButtonScript {
public:
void init() override;
- bool on_button_press(const crepe::ButtonPressEvent& e);
+ bool on_button_press(const crepe::ButtonPressEvent & e);
+
private:
float velocity = 20;
+
protected:
bool transition = false;
};