diff options
Diffstat (limited to 'game/player/PlayerEndScript.cpp')
-rw-r--r-- | game/player/PlayerEndScript.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/player/PlayerEndScript.cpp b/game/player/PlayerEndScript.cpp index e04fb9d..fc3b8a1 100644 --- a/game/player/PlayerEndScript.cpp +++ b/game/player/PlayerEndScript.cpp @@ -1,3 +1,4 @@ +#include <iostream> #include "PlayerEndScript.h" #include "../Config.h" @@ -22,6 +23,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(); |