Skip to content

Commit

Permalink
Fixing debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
zsmn committed Mar 2, 2021
1 parent 6fd7df2 commit d54d47a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
Expand Down Expand Up @@ -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 ;
Expand Down

0 comments on commit d54d47a

Please sign in to comment.