From 5417c16040e5e9a6ce12a8780e1e355d8ce77539 Mon Sep 17 00:00:00 2001 From: Bulut Gozubuyuk Date: Sun, 20 Dec 2020 17:38:16 +0300 Subject: [PATCH] Player toString revision --- src/models/Player.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/models/Player.java b/src/models/Player.java index 94acac6..ac0c853 100644 --- a/src/models/Player.java +++ b/src/models/Player.java @@ -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; } }