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/SetShopScript.cpp | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 game/mainmenu/SetShopScript.cpp (limited to 'game/mainmenu/SetShopScript.cpp') diff --git a/game/mainmenu/SetShopScript.cpp b/game/mainmenu/SetShopScript.cpp deleted file mode 100644 index 427445b..0000000 --- a/game/mainmenu/SetShopScript.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include "SetShopScript.h" -#include "MainMenuConfig.h" -#include "iostream" - -using namespace crepe; -using namespace std; - -void SetShopScript::init(){ - cout << "script init" << endl; - IButtonScript::init(); - this->subscribe([this](const ButtonPressEvent& e) { return this->on_button_press(e); }); -} - -bool SetShopScript::on_button_press(const ButtonPressEvent& e){ - this->set_next_scene(MainMenuConfig::SHOP_SCENE); - cout << "Start triggered:" << e.metadata.game_object_id << std::endl; - return false; -} - -- cgit v1.2.3