From f2028cd4def82f5f6a52392ff011f6d0fa4aa315 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Tue, 7 Jan 2025 22:07:32 +0100 Subject: correct naming --- game/menus/ButtonSetMainMenuSubScript.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 game/menus/ButtonSetMainMenuSubScript.h (limited to 'game/menus/ButtonSetMainMenuSubScript.h') diff --git a/game/menus/ButtonSetMainMenuSubScript.h b/game/menus/ButtonSetMainMenuSubScript.h new file mode 100644 index 0000000..40e2c11 --- /dev/null +++ b/game/menus/ButtonSetMainMenuSubScript.h @@ -0,0 +1,15 @@ +#pragma once + +#include "IButtonScript.h" + +#include + +class ButtonSetMainMenuSubScript : 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