final refactor 2 (problems noticed by intellij)
This commit is contained in:
@@ -80,13 +80,13 @@ public class Player implements Serializable {
|
||||
case GATHERER -> gatherers.size();
|
||||
};
|
||||
}
|
||||
private ArrayList<BuildingCard> buildingCards;
|
||||
private ArrayList<Artist> artists;
|
||||
private ArrayList<Builder> builders;
|
||||
private ArrayList<Inventor> inventors;
|
||||
private ArrayList<Gatherer> gatherers;
|
||||
private ArrayList<Shaman> shamans;
|
||||
private ArrayList<Hunter> hunters;
|
||||
private final ArrayList<BuildingCard> buildingCards;
|
||||
private final ArrayList<Artist> artists;
|
||||
private final ArrayList<Builder> builders;
|
||||
private final ArrayList<Inventor> inventors;
|
||||
private final ArrayList<Gatherer> gatherers;
|
||||
private final ArrayList<Shaman> shamans;
|
||||
private final ArrayList<Hunter> hunters;
|
||||
|
||||
/** @return this player's building cards. */
|
||||
public ArrayList<BuildingCard> getBuildingCards() { return buildingCards; }
|
||||
@@ -266,7 +266,7 @@ public class Player implements Serializable {
|
||||
|
||||
var table = new AsciiTable(ROUNDED, 1);
|
||||
|
||||
String totemStr = (this.totem != null) ? " (" + this.totem.toString() + ")" : "";
|
||||
String totemStr = (this.totem != null) ? " (" + this.totem + ")" : "";
|
||||
table.addHeader(this.getUserName() + totemStr + " | \uD83C\uDF56:" + this.getFoodValue() + " | \uD83C\uDFC5:" + this.getPrestigeValue());
|
||||
table.addSeparator();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user