aboutsummaryrefslogtreecommitdiff
path: root/game/enemy/BattleScript.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-09 14:50:28 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-09 14:50:28 +0100
commitc1f7b409bd6c883f7e9ff0f81afd3bee47469bdd (patch)
tree6121e5a60a02af3dca226d74ad381b856a0b8ae7 /game/enemy/BattleScript.cpp
parent00f48f0b3ea0853d5277caef3fed6cff0042c607 (diff)
removed iostream
Diffstat (limited to 'game/enemy/BattleScript.cpp')
-rw-r--r--game/enemy/BattleScript.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/game/enemy/BattleScript.cpp b/game/enemy/BattleScript.cpp
index 3eda89e..2d1e143 100644
--- a/game/enemy/BattleScript.cpp
+++ b/game/enemy/BattleScript.cpp
@@ -1,7 +1,6 @@
#include "BattleScript.h"
#include "EnemyScript.h"
#include <crepe/api/AI.h>
-#include <iostream>
#include <crepe/api/BehaviorScript.h>
#include <crepe/api/Metadata.h>
using namespace std;
@@ -29,7 +28,6 @@ void BattleScript::fixed_update(duration_t dt) {
}
if (!enemies_alive) {
this->battle_active = false;
- cout << "battle won" << endl;
this->trigger_event<BattleWonEvent>();
}
}