diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-08 10:08:03 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-08 10:08:03 +0100 |
commit | 7f7c5c56dce30d47c32fb57fad6d839d0990b054 (patch) | |
tree | eebc8d3f4c332d969f4a66a566edd844bd43387c /game/player/PlayerEndScript.cpp | |
parent | ceb41b7ae7e2734af954364b319fc0b6f2a86c2f (diff) |
enemy spawn working + enemy shooting
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(); |