Develope game branch #33

Merged
schrom01 merged 23 commits from develope_Game_branch into main 2022-05-12 13:44:47 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 4d193abb64 - Show all commits

View File

@ -38,14 +38,14 @@ public class GameDecorator {
public String getParticipantOne() { public String getParticipantOne() {
if (game.getParticipant1() != null) { if (game.getParticipant1() != null) {
return game.getParticipant1().getName(); return game.getParticipant1().toString();
} }
return "1"; return "1";
} }
public String getParticipantTwo() { public String getParticipantTwo() {
if (game.getParticipant2() != null) { if (game.getParticipant2() != null) {
return game.getParticipant2().getName(); return game.getParticipant2().toString();
} }
return "2"; return "2";
} }