public void SetCellState(int position, int count, GameCell.CellState state) { for (int i = position; i < (position + count); i++) { SetCellState(i, state); } }
public void SetCellState(int position, GameCell.CellState state) { if (position >= 0 && position < _size) { _cells[position].State = state; } }