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