Skip to content

Commit

Permalink
players can't change names!
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron committed Mar 28, 2016
1 parent 669d301 commit 97054df
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/model/Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

public class Player {
private ArrayList<Piece> pieces;
private String name;
public final String name;

public Player(String name) {
this.name = name;
Expand All @@ -22,8 +22,4 @@ public ArrayList<Piece> getPieces() {
public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}
}

0 comments on commit 97054df

Please sign in to comment.