Ejemplo n.º 1
0
 static public void Create(BombGroup pGroup)
 {
     if (pInstance == null)
     {
         pInstance = new BombManager();
     }
     pInstance.pBombGroup = pGroup;
     Debug.Assert(pInstance != null);
 }
Ejemplo n.º 2
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;
            }
        }
Ejemplo n.º 3
0
 public override void VisitBombGroup(BombGroup bg)
 {
 }
Ejemplo n.º 4
0
        public override void VisitBombGroup(BombGroup bg)
        {
            GameObject pGameObj = Iterator.GetChildGameObject(bg);

            CollisionPair.Collide(this, pGameObj);
        }
Ejemplo n.º 5
0
 public virtual void VisitBombGroup(BombGroup bg)
 {
     Debug.Assert(false);
 }