From d54d47a2852a2ec72d4067bafbb97727cf8cf2b8 Mon Sep 17 00:00:00 2001 From: zsmn Date: Sat, 27 Feb 2021 18:49:35 -0300 Subject: [PATCH] Fixing debugs --- .../referee/checkers/ballplay/checker_ballplay.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/world/entities/referee/checkers/ballplay/checker_ballplay.cpp b/src/world/entities/referee/checkers/ballplay/checker_ballplay.cpp index 94960cc..ed9e93a 100644 --- a/src/world/entities/referee/checkers/ballplay/checker_ballplay.cpp +++ b/src/world/entities/referee/checkers/ballplay/checker_ballplay.cpp @@ -168,8 +168,8 @@ void Checker_BallPlay::run() { setPenaltiesInfo(VSSRef::Foul::PENALTY_KICK, _possiblePenaltyTeam); } - std::cout << Text::purple("[DEBUG] ", true) + Text::bold(VSSRef::Color_Name(_checkerTwoAtk->attackingTeam()) + " two attacking time: " + std::to_string(_checkerTwoAtk->getTimer())) + '\n'; - std::cout << Text::purple("[DEBUG] ", true) + Text::bold(VSSRef::Color_Name(_checkerTwoDef->defendingTeam()) + " two defending time: " + std::to_string(_checkerTwoDef->getTimer())) + '\n'; + std::cout << Text::purple("[DEBUG] ", true) + Text::bold(VSSRef::Color_Name(_possibleGoalKickTeam) + " two attacking time: " + std::to_string(_checkerTwoAtk->getTimer())) + '\n'; + std::cout << Text::purple("[DEBUG] ", true) + Text::bold(VSSRef::Color_Name(_possiblePenaltyTeam) + " two defending time: " + std::to_string(_checkerTwoDef->getTimer())) + '\n'; emit foulOccured(); return ; @@ -201,8 +201,8 @@ void Checker_BallPlay::run() { setPenaltiesInfo(VSSRef::Foul::PENALTY_KICK, _possiblePenaltyTeam); } - std::cout << Text::purple("[DEBUG] ", true) + Text::bold(VSSRef::Color_Name(_checkerTwoAtk->attackingTeam()) + " two attacking time: " + std::to_string(_checkerTwoAtk->getTimer())) + '\n'; - std::cout << Text::purple("[DEBUG] ", true) + Text::bold(VSSRef::Color_Name(_checkerTwoDef->defendingTeam()) + " two defending time: " + std::to_string(_checkerTwoDef->getTimer())) + '\n'; + std::cout << Text::purple("[DEBUG] ", true) + Text::bold(VSSRef::Color_Name(_possibleGoalKickTeam) + " two attacking time: " + std::to_string(_checkerTwoAtk->getTimer())) + '\n'; + std::cout << Text::purple("[DEBUG] ", true) + Text::bold(VSSRef::Color_Name(_possiblePenaltyTeam) + " two defending time: " + std::to_string(_checkerTwoDef->getTimer())) + '\n'; emit foulOccured(); return ;