public void getStateFromMemento(Memento memento) { state = memento.getState(); }
public void setState(GameBoard state) { this.state = new GameBoard(state); }