예제 #1
0
 public static void RemoveBombPieceFromManaging(BombPiece bombPiece)
 {
     if (liveBombsCheck.Contains(bombPiece))
     {
         liveBombsCheck.Remove(bombPiece);
     }
 }
예제 #2
0
 public static void AddBombPieceToManage(BombPiece bombPiece, int startedNumber)
 {
     // give the started move count
     bombPiece.startedNumberOfMove = startedNumber;
     bombPiece.countDownAmount     = Random.Range(5, 7);
     liveBombsCheck.Add(bombPiece);
     bombPiece.WriteLeftNumberOfMovesCountToText(bombPiece.numberToReach - startedNumber);
 }