aboutsummaryrefslogtreecommitdiff
path: root/game/menus/mainmenu/ButtonTransitionPreviewScript.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-06 17:57:50 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-06 17:57:50 +0100
commit4c83562ef39a0364cd01f1f3615eb7672ca9f4a2 (patch)
tree2f7b72c538e7a30c741939d339f6ec2ddadfa129 /game/menus/mainmenu/ButtonTransitionPreviewScript.cpp
parent07615060da6c211e08a3d7f2e1bb9e99ffc05364 (diff)
corrected includes
Diffstat (limited to 'game/menus/mainmenu/ButtonTransitionPreviewScript.cpp')
-rw-r--r--game/menus/mainmenu/ButtonTransitionPreviewScript.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/game/menus/mainmenu/ButtonTransitionPreviewScript.cpp b/game/menus/mainmenu/ButtonTransitionPreviewScript.cpp
index c702260..084d02b 100644
--- a/game/menus/mainmenu/ButtonTransitionPreviewScript.cpp
+++ b/game/menus/mainmenu/ButtonTransitionPreviewScript.cpp
@@ -1,20 +1,17 @@
#include "ButtonTransitionPreviewScript.h"
+
#include "../MenusConfig.h"
-#include "iostream"
using namespace crepe;
using namespace std;
-
void ButtonTransitionPreviewScript::init(){
- cout << "script init" << endl;
IButtonScript::init();
this->subscribe<ButtonPressEvent>([this](const ButtonPressEvent& e) { return this->on_button_press(e); });
}
bool ButtonTransitionPreviewScript::on_button_press(const ButtonPressEvent& e){
if(!this->transition) this->transition = true;
- cout << "Start triggered:" << e.metadata.game_object_id << std::endl;
return false;
}