diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 15:03:53 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 15:03:53 +0100 |
commit | e7ff8a9d0cff724520c4fb7a13b77e93797759cf (patch) | |
tree | c9261f172eef20857010180d82cb30e51cd6e5e8 /game/menus/ButtonNextMainMenuScript.h | |
parent | 2c4091f845513cee2de4aac652f9720c74789327 (diff) |
saving coins avaiable in menu
Diffstat (limited to 'game/menus/ButtonNextMainMenuScript.h')
-rw-r--r-- | game/menus/ButtonNextMainMenuScript.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/game/menus/ButtonNextMainMenuScript.h b/game/menus/ButtonNextMainMenuScript.h new file mode 100644 index 0000000..b9f70b3 --- /dev/null +++ b/game/menus/ButtonNextMainMenuScript.h @@ -0,0 +1,15 @@ +#pragma once + +#include "IButtonScript.h" + +#include <crepe/api/Script.h> + +class ButtonNextMainMenuScript : public IButtonScript { +public: + void init() override; + bool on_button_press(const crepe::ButtonPressEvent& e); +private: + float velocity = 20; +protected: + bool transition = false; +}; |