示例#1
0
 private Cell(Bonus bonus, int indexRow, int indexColumn)
 {
     State    = CellState.Normal;
     _bonus   = bonus;
     Position = new ArrayPoint(indexRow, indexColumn);
 }
示例#2
0
 private Cell(Block block, int indexRow, int indexColumn)
 {
     State    = CellState.Normal;
     _block   = block;
     Position = new ArrayPoint(indexRow, indexColumn);
 }