public override void VisitAlienRoot(AlienRoot a) { // BirdGroup vs WallGroup // Debug.WriteLine("collide: {0} with {1}", a, this); // BirdGroup vs WallGroup // go down a level in Wall Group. GameObject pGameObj = (GameObject)Iterator.GetChild(a); ColPair.Collide(pGameObj, this); }
public override void VisitAlienRoot(AlienRoot a) { GameObject pGameObj = (GameObject)Iterator.GetChild(a); ColPair.Collide(pGameObj, this); }
public virtual void VisitAlienRoot(AlienRoot s) { Debug.WriteLine("Visit by AlienRoot not implemented"); Debug.Assert(false); }