public void Cancel() { GameMemento state = gameCaretaker.Restore(); this.field = state.field; this.x0 = state.x0; this.y0 = state.y0; this.counter = state.counter; }
public void Cancel() { GameMemento state = gameCaretaker.Restore(); this.field = state.field; this.x0 = state.x0; this.y0 = state.y0; this.counter = state.counter; }