aboutsummaryrefslogtreecommitdiff
path: root/game/menus/ButtonNextMainMenuSubScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/menus/ButtonNextMainMenuSubScript.h')
-rw-r--r--game/menus/ButtonNextMainMenuSubScript.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/game/menus/ButtonNextMainMenuSubScript.h b/game/menus/ButtonNextMainMenuSubScript.h
index cb5c8ca..0603111 100644
--- a/game/menus/ButtonNextMainMenuSubScript.h
+++ b/game/menus/ButtonNextMainMenuSubScript.h
@@ -7,9 +7,11 @@
class ButtonNextMainMenuSubScript : 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;
};