From 6a3063e6012bae44457b668ce48c48b8af90a95d Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Sat, 28 Dec 2024 12:36:26 +0100 Subject: improved naming --- game/mainmenu/ButtonSetShopScript.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 game/mainmenu/ButtonSetShopScript.h (limited to 'game/mainmenu/ButtonSetShopScript.h') diff --git a/game/mainmenu/ButtonSetShopScript.h b/game/mainmenu/ButtonSetShopScript.h new file mode 100644 index 0000000..51db928 --- /dev/null +++ b/game/mainmenu/ButtonSetShopScript.h @@ -0,0 +1,14 @@ +#pragma once + +#include "IButtonScript.h" +#include + +class ButtonSetShopScript : public IButtonScript { +public: + void init() override; + bool on_button_press(const crepe::ButtonPressEvent& e); +private: + float velocity = 20; +protected: + bool transition = false; +}; -- cgit v1.2.3