public void SetBoardOptions(BoardOptions boardOptions) { _numRows = boardOptions.NumRows; _numCols = boardOptions.NumCols; _numMines = boardOptions.NumMines; RaisePropertyChanged(() => NumRows); RaisePropertyChanged(() => NumCols); RaisePropertyChanged(() => UnflaggedMineCount); StartNewGame(); }
private void OnSetBoardOptionsCommand(BoardOptions boardOptions) { SetBoardOptions(boardOptions); }