Exemple #1
0
        public static void RemoveBombs()
        {
            BombGroup pGroup = (BombGroup)GameObjectManager.Find(GameObject.Name.BombGroup);
            Bomb      pBomb  = (Bomb)pGroup.poHead;
            Bomb      pNextBomb;

            while (pBomb != null)
            {
                pNextBomb = (Bomb)pBomb.pNext;

                BombManager.DeactiveBomb(pBomb);
                pBomb = pNextBomb;
            }
        }
Exemple #2
0
 public override void Execute()
 {
     BombManager.DeactiveBomb(this.pBomb);
 }