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 VisitShip(Ship pShip) { //Debug.WriteLine("in Grid , visit from Ship"); GameObject pGameObj = (GameObject)this.GetFirstChild(); ColPair.FwdCollide(pGameObj, pShip); }
public override void VisitShieldColumn(ShieldColumn pShieldColumn) { //Debug.WriteLine("in Grid, visit from shieldColumn"); GameObject pGameObj = (GameObject)pShieldColumn.GetFirstChild(); ColPair.FwdCollide(this, pGameObj); }
public override void VisitInvaderCategory(InvaderCategory pInvader) { //Debug.WriteLine("in ShieldZone, visit from InvaderCategory"); GameObject pGameObj = (GameObject)this.GetFirstChild(); ColPair.FwdCollide(pGameObj, pInvader); }
public override void VisitMissile(Missile pMissile) { //Debug.WriteLine("in Grid , visit from Missile"); GameObject pGameObj = (GameObject)this.GetFirstChild(); ColPair.FwdCollide(pGameObj, pMissile); }
public override void VisitBomb(Bomb pBomb) { //Debug.WriteLine("in ShieldZone, visit from pBomb"); GameObject pGameObj = (GameObject)this.GetFirstChild(); ColPair.FwdCollide(pGameObj, pBomb); }
public override void VisitInvaderColumn(InvaderColumn pColumn) { //Debug.WriteLine("in ShieldZone, visit from InvaderColumn"); GameObject pGameObj = (GameObject)pColumn.GetFirstChild(); ColPair.FwdCollide(this, pGameObj); }
public override void VisitShieldBrick(ShieldBrick pShieldBrick) { //Debug.WriteLine("in InvaderColumn, visit from ShieldBrick"); GameObject pGameObj = (GameObject)this.GetFirstChild(); ColPair.FwdCollide(pGameObj, pShieldBrick); }
public override void VisitShield(Shield pShield) { //Debug.WriteLine("in InvaderColumn, visit from shield"); GameObject pGameObj = (GameObject)pShield.GetFirstChild(); ColPair.FwdCollide(this, pGameObj); }
public override void VisitInvaderGrid(InvaderGrid pGrid) { //Debug.WriteLine("in ShieldBrick, visit from InvaderGrid"); GameObject pGameObj = (GameObject)pGrid.GetFirstChild(); ColPair.FwdCollide(this, pGameObj); }
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); }
public override void VisitInvaderColumn(InvaderColumn pColumn) { GameObject pGameObj = (GameObject)pColumn.GetFirstChild(); ColPair.FwdCollide(this, pGameObj); }
public override void VisitInvaderGrid(InvaderGrid pGrid) { GameObject pGameObj = (GameObject)pGrid.GetFirstChild(); ColPair.FwdCollide(this, pGameObj); }
public override void VisitMissile(Missile pMissile) { GameObject pGameObj = (GameObject)this.GetFirstChild(); ColPair.FwdCollide(pGameObj, pMissile); }