Beispiel #1
0
        public override void VisitShield(Shield pShield)
        {
            //Debug.WriteLine("in Missile, visit from shield");
            GameObject pGameObj = (GameObject)pShield.GetFirstChild();

            ColPair.FwdCollide(this, pGameObj);
        }
Beispiel #2
0
        public override void VisitShield(Shield pShield)
        {
            //Debug.WriteLine("in Bomb, visit from shield");
            GameObject pGameObj = (GameObject)pShield.GetFirstChild();

            // Always set Bomb as ObjB
            ColPair.FwdCollide(this, pGameObj);
        }