public override void VisitShieldZone(ShieldZone pShieldZone) { //Debug.WriteLine("in Missile, visit from ShieldZone"); GameObject pGameObj = (GameObject)pShieldZone.GetFirstChild(); ColPair.FwdCollide(this, pGameObj); }
public override void VisitShieldZone(ShieldZone pShieldZone) { //Debug.WriteLine("in Bomb, visit from ShieldZone"); GameObject pGameObj = (GameObject)pShieldZone.GetFirstChild(); // Always set Bomb as ObjB ColPair.FwdCollide(this, pGameObj); }