aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/SetShopScript.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-28 12:36:26 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-28 12:36:26 +0100
commit6a3063e6012bae44457b668ce48c48b8af90a95d (patch)
tree98d676fbda6bb1851e5efdaa10d97fcbf84ed837 /game/mainmenu/SetShopScript.cpp
parentdeb1cd4732fb3a880cd10ce677e62fc2aac974a0 (diff)
improved naming
Diffstat (limited to 'game/mainmenu/SetShopScript.cpp')
-rw-r--r--game/mainmenu/SetShopScript.cpp19
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;
-}
-