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/SetShopScript.cpp | |
| parent | deb1cd4732fb3a880cd10ce677e62fc2aac974a0 (diff) | |
improved naming
Diffstat (limited to 'game/mainmenu/SetShopScript.cpp')
| -rw-r--r-- | game/mainmenu/SetShopScript.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
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<ButtonPressEvent>([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; -} - |