Ejemplo n.º 1
0
 private static void ChangeGemInBlastRadius(FieldCell fieldCell)
 {
     if (fieldCell.Gem != null && (fieldCell.Gem.Type == GemType.Bomb ||
                                   fieldCell.Gem.Type == GemType.HorizontalLine ||
                                   fieldCell.Gem.Type == GemType.VerticalLine))
     {
         fieldCell.Gem.WasMoved = true;
     }
     else
     {
         GemsController.DeleteGem(fieldCell);
     }
 }