示例#1
0
        public override void VisitShieldZone(ShieldZone pShieldZone)
        {
            //Debug.WriteLine("in Missile, visit from ShieldZone");
            GameObject pGameObj = (GameObject)pShieldZone.GetFirstChild();

            ColPair.FwdCollide(this, pGameObj);
        }
示例#2
0
        public override void VisitShip(Ship pShip)
        {
            //Debug.WriteLine("in Grid , visit from Ship");
            GameObject pGameObj = (GameObject)this.GetFirstChild();

            ColPair.FwdCollide(pGameObj, pShip);
        }
示例#3
0
        public override void VisitShieldColumn(ShieldColumn pShieldColumn)
        {
            //Debug.WriteLine("in Grid, visit from shieldColumn");
            GameObject pGameObj = (GameObject)pShieldColumn.GetFirstChild();

            ColPair.FwdCollide(this, pGameObj);
        }
示例#4
0
        public override void VisitInvaderCategory(InvaderCategory pInvader)
        {
            //Debug.WriteLine("in ShieldZone, visit from InvaderCategory");
            GameObject pGameObj = (GameObject)this.GetFirstChild();

            ColPair.FwdCollide(pGameObj, pInvader);
        }
示例#5
0
        public override void VisitMissile(Missile pMissile)
        {
            //Debug.WriteLine("in Grid , visit from Missile");
            GameObject pGameObj = (GameObject)this.GetFirstChild();

            ColPair.FwdCollide(pGameObj, pMissile);
        }
示例#6
0
        public override void VisitBomb(Bomb pBomb)
        {
            //Debug.WriteLine("in ShieldZone, visit from pBomb");
            GameObject pGameObj = (GameObject)this.GetFirstChild();

            ColPair.FwdCollide(pGameObj, pBomb);
        }
示例#7
0
        public override void VisitInvaderColumn(InvaderColumn pColumn)
        {
            //Debug.WriteLine("in ShieldZone, visit from InvaderColumn");
            GameObject pGameObj = (GameObject)pColumn.GetFirstChild();

            ColPair.FwdCollide(this, pGameObj);
        }
示例#8
0
        public override void VisitShieldBrick(ShieldBrick pShieldBrick)
        {
            //Debug.WriteLine("in InvaderColumn, visit from ShieldBrick");
            GameObject pGameObj = (GameObject)this.GetFirstChild();

            ColPair.FwdCollide(pGameObj, pShieldBrick);
        }
示例#9
0
        public override void VisitShield(Shield pShield)
        {
            //Debug.WriteLine("in InvaderColumn, visit from shield");
            GameObject pGameObj = (GameObject)pShield.GetFirstChild();

            ColPair.FwdCollide(this, pGameObj);
        }
示例#10
0
        public override void VisitInvaderGrid(InvaderGrid pGrid)
        {
            //Debug.WriteLine("in ShieldBrick, visit from InvaderGrid");
            GameObject pGameObj = (GameObject)pGrid.GetFirstChild();

            ColPair.FwdCollide(this, pGameObj);
        }
示例#11
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);
        }
示例#12
0
        public override void VisitInvaderColumn(InvaderColumn pColumn)
        {
            GameObject pGameObj = (GameObject)pColumn.GetFirstChild();

            ColPair.FwdCollide(this, pGameObj);
        }
示例#13
0
        public override void VisitInvaderGrid(InvaderGrid pGrid)
        {
            GameObject pGameObj = (GameObject)pGrid.GetFirstChild();

            ColPair.FwdCollide(this, pGameObj);
        }
示例#14
0
        public override void VisitMissile(Missile pMissile)
        {
            GameObject pGameObj = (GameObject)this.GetFirstChild();

            ColPair.FwdCollide(pGameObj, pMissile);
        }