public override void VisitShip(Ship m) { GameObject pGameObj = (GameObject)Iterator.GetChild(m); GameObject pGameObjB = (GameObject)Iterator.GetChild(this); ColPair.Collide(pGameObj, pGameObjB); }
public override void VisitShipRoot(ShipRoot b) { GameObject pGameObjA = (GameObject)Iterator.GetChild(b); GameObject pGameObjB = (GameObject)Iterator.GetChild(this); ColPair.Collide(pGameObjA, pGameObjB); }
public override void VisitMissileGroup(MissileGroup m) { // Missile vs ShieldColumn GameObject pGameObj = (GameObject)Iterator.GetChild(this); ColPair.Collide(m, pGameObj); }
public override void VisitBombRoot(BombRoot b) { GameObject pGameObj = (GameObject)Iterator.GetChild(b); ColPair.Collide(pGameObj, this); }
public override void VisitMissileGroup(MissileGroup m) { GameObject pGameObj = (GameObject)Iterator.GetChild(m); ColPair.Collide(pGameObj, this); }
public override void VisitBomb(Bomb b) { ColPair.Collide(b, (GameObject)Iterator.GetChild(this)); }
public override void VisitGrid(AlienGrid m) { GameObject pGameObj = (GameObject)Iterator.GetChild(this); ColPair.Collide(m, pGameObj); }
public override void VisitBombRoot(BombRoot b) { ColPair.Collide((GameObject)Iterator.GetChild(b), this); }
public override void VisitMissile(Missile m) { GameObject pGameObj = (GameObject)Iterator.GetChild(this); ColPair.Collide(m, pGameObj); }
public override void VisitBombRoot(BombRoot b) { // Bomb vs ShieldColumn ColPair.Collide(b, (GameObject)Iterator.GetChild(this)); }