diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-28 12:36:26 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-28 12:36:26 +0100 |
commit | 6a3063e6012bae44457b668ce48c48b8af90a95d (patch) | |
tree | 98d676fbda6bb1851e5efdaa10d97fcbf84ed837 /game/mainmenu/ButtonSetShopScript.h | |
parent | deb1cd4732fb3a880cd10ce677e62fc2aac974a0 (diff) |
improved naming
Diffstat (limited to 'game/mainmenu/ButtonSetShopScript.h')
-rw-r--r-- | game/mainmenu/ButtonSetShopScript.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 <crepe/api/Script.h> + +class ButtonSetShopScript : public IButtonScript { +public: + void init() override; + bool on_button_press(const crepe::ButtonPressEvent& e); +private: + float velocity = 20; +protected: + bool transition = false; +}; |