- Attempt to implement a basic team victory

This commit is contained in:
moomarc
2014-02-17 15:53:41 +00:00
parent 89c2130ff6
commit df86422e1b
3 changed files with 19 additions and 2 deletions

View File

@@ -174,6 +174,8 @@ public class ViewWinLose {
Player winner = outcome.getWinningPlayer();
if (winner == null) {
return "It's a draw!";
} else if (winningTeam != -1) {
return "Team " + winner.getTeam() + " Won!";
} else {
return winner.getName() + " Won!";
}