From deb1cd4732fb3a880cd10ce677e62fc2aac974a0 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Sat, 28 Dec 2024 12:15:39 +0100 Subject: interface scripts added --- game/mainmenu/SetShopScript.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 game/mainmenu/SetShopScript.h (limited to 'game/mainmenu/SetShopScript.h') diff --git a/game/mainmenu/SetShopScript.h b/game/mainmenu/SetShopScript.h new file mode 100644 index 0000000..0705e57 --- /dev/null +++ b/game/mainmenu/SetShopScript.h @@ -0,0 +1,14 @@ +#pragma once + +#include "IButtonScript.h" +#include + +class SetShopScript : 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