Galactic Monopoly
public java v1 · immutablepublic class Player{ private String name; private int money; private int location; private boolean jailed; private Board board; public Player(String name, int money, Board b) {} public void setMoney(int amount) {} public void addMoney(int amount) {} public void takeMoney(int amount) {} public int money() {} public void move(int squares) {} public void setLocation(int square) {} public int location() {} public void buyProperty() {} public void buyHouse(Square s) {}}