Пример #1
0
 public Cell AddCell(int x, int y)
 {
     var cell = new Cell();
     Cells[x, y] = cell;
     cell.Reposition(x, y);
     return cell;
 }
Пример #2
0
        public Cell AddCell(int x, int y)
        {
            var cell = new Cell();

            Cells[x, y] = cell;
            cell.Reposition(x, y);
            return(cell);
        }