Lawnmover.Pattern.IsSolved C# (CSharp) Method

IsSolved() public method

public IsSolved ( int nrow, int ncol ) : bool
nrow int
ncol int
return bool
        public bool IsSolved(int nrow, int ncol)
        {
            int value = this.cells[nrow, ncol];
            return this.rowmoves[nrow] == value || this.columnmoves[ncol] == value;
        }