public override void VisitAlien(Alien a) { // Aliens vs MissileGroup Debug.WriteLine(" collide: {0} <-> {1}", a.GetName(), this.GetName()); // Missile vs Alien ColPair.Collide((GameObject)this.GetFirstChild(), a); }
public override void VisitAlien(Alien a) { // Aliens vs MissileGroup Debug.WriteLine(" collide: {0} <-> {1}", a.GetName(), this.GetName()); // Missile vs Alien Debug.WriteLine("-------> Done <--------"); a.VisitMissile(this); }