Exemplo n.º 1
0
        public override void  VisitShip(Ship m)
        {
            GameObject pGameObj  = (GameObject)Iterator.GetChild(m);
            GameObject pGameObjB = (GameObject)Iterator.GetChild(this);

            ColPair.Collide(pGameObj, pGameObjB);
        }
Exemplo n.º 2
0
        public override void VisitShipRoot(ShipRoot b)
        {
            GameObject pGameObjA = (GameObject)Iterator.GetChild(b);
            GameObject pGameObjB = (GameObject)Iterator.GetChild(this);

            ColPair.Collide(pGameObjA, pGameObjB);
        }
Exemplo n.º 3
0
        public override void VisitMissileGroup(MissileGroup m)
        {
            // Missile vs ShieldColumn
            GameObject pGameObj = (GameObject)Iterator.GetChild(this);

            ColPair.Collide(m, pGameObj);
        }
Exemplo n.º 4
0
        public override void VisitBombRoot(BombRoot b)
        {
            GameObject pGameObj = (GameObject)Iterator.GetChild(b);

            ColPair.Collide(pGameObj, this);
        }
Exemplo n.º 5
0
        public override void VisitMissileGroup(MissileGroup m)
        {
            GameObject pGameObj = (GameObject)Iterator.GetChild(m);

            ColPair.Collide(pGameObj, this);
        }
Exemplo n.º 6
0
 public override void VisitBomb(Bomb b)
 {
     ColPair.Collide(b, (GameObject)Iterator.GetChild(this));
 }
Exemplo n.º 7
0
        public override void VisitGrid(AlienGrid m)
        {
            GameObject pGameObj = (GameObject)Iterator.GetChild(this);

            ColPair.Collide(m, pGameObj);
        }
Exemplo n.º 8
0
 public override void VisitBombRoot(BombRoot b)
 {
     ColPair.Collide((GameObject)Iterator.GetChild(b), this);
 }
Exemplo n.º 9
0
        public override void VisitMissile(Missile m)
        {
            GameObject pGameObj = (GameObject)Iterator.GetChild(this);

            ColPair.Collide(m, pGameObj);
        }
Exemplo n.º 10
0
 public override void VisitBombRoot(BombRoot b)
 {
     // Bomb vs ShieldColumn
     ColPair.Collide(b, (GameObject)Iterator.GetChild(this));
 }