aboutsummaryrefslogtreecommitdiff
path: root/game/menus/mainmenu/ButtonTransitionPreviewScript.cpp
diff options
context:
space:
mode:
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;
}