Skip to content

Commit

Permalink
Player toString revision
Browse files Browse the repository at this point in the history
  • Loading branch information
bulutg committed Dec 20, 2020
1 parent db9f054 commit 5417c16
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/models/Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,6 @@ public boolean isInQuarantine()

@Override
public String toString() {
return "Player{" +
" name='" + name + '\'' +
", id=" + id +
", color='" + color + '\'' +
", pawn='" + pawn + '\'' +
", money=" + money +
", isBankrupted=" + isBankrupted +
", location=" + location +
", isInfected=" + isInfected +
"}\n";
return name;
}
}

0 comments on commit 5417c16

Please sign in to comment.