Ejemplo n.º 1
0
 /// <summary>
 /// Zero out the board.
 /// </summary>
 private void initialize()
 {
     for ( int row = 0; row < boardDimensions.row; ++row )
     {
         for ( int col = 0; col < boardDimensions.column; ++col )
         {
             board[ row, col ] = new Cell( boardDimensions.row );
         }
     }
 }
Ejemplo n.º 2
0
        public Cell deepCopy()
        {
            Cell copy = new Cell( this.range );
            copy.entry = entry;
            copy.locked = locked;
            copy.Hints = hints;

            return copy;
        }