aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerEndScript.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-08 12:17:30 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-08 12:17:30 +0100
commit1a5744a3285a5ba5132fb4f6f031c27df1b64d33 (patch)
treee1a893eadc08da75910cd4a4e4608959bffde1b7 /game/player/PlayerEndScript.cpp
parent49f0f0a24c1557a90530e0d2e0160e221644728a (diff)
enemy death working
Diffstat (limited to 'game/player/PlayerEndScript.cpp')
-rw-r--r--game/player/PlayerEndScript.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/game/player/PlayerEndScript.cpp b/game/player/PlayerEndScript.cpp
index 92e48e3..fb18f2f 100644
--- a/game/player/PlayerEndScript.cpp
+++ b/game/player/PlayerEndScript.cpp
@@ -1,4 +1,3 @@
-#include <iostream>
#include "PlayerEndScript.h"
#include "../Config.h"
@@ -24,7 +23,6 @@ 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();