Beispiel #1
0
 private void OnMouseUpAsButton()
 {
     if (!board.isInProcess)
     {
         if (tag == "RowBomb")
         {
             gameScore.NumberOfPerformedSteps++;
             booster.UseRowBomb(Row);
             board.DestroyMatches();
         }
         if (tag == "ColumnBomb")
         {
             gameScore.NumberOfPerformedSteps++;
             booster.UseColumnBomb(Column);
             board.DestroyMatches();
         }
         if (tag == "RadialBomb")
         {
             gameScore.NumberOfPerformedSteps++;
             booster.UseRadialBomb(Column, Row);
             board.DestroyMatches();
         }
     }
 }