示例#1
0
        public void ReplaceCell(BaseCell newCell)
        {
            var oldCell = Cells.Single(x => newCell.IsSameCoordinate(x));

            Cells.Remove(oldCell);
            Cells.Add(newCell);
        }