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