aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerEndScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/player/PlayerEndScript.cpp')
-rw-r--r--game/player/PlayerEndScript.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/player/PlayerEndScript.cpp b/game/player/PlayerEndScript.cpp
index fb18f2f..92e48e3 100644
--- a/game/player/PlayerEndScript.cpp
+++ b/game/player/PlayerEndScript.cpp
@@ -1,3 +1,4 @@
+#include <iostream>
#include "PlayerEndScript.h"
#include "../Config.h"
@@ -23,6 +24,7 @@ void PlayerEndScript::init() {
}
bool PlayerEndScript::on_collision(const crepe::CollisionEvent & ev) {
+ cout << "collision player" << endl;
if (ev.info.other.metadata.name == "floor") {
Transform & transform_player
= this->get_components_by_name<Transform>("player").front();