コード例 #1
0
        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);
        }
コード例 #2
0
        public override void VisitAlienRoot(AlienRoot a)
        {
            GameObject pGameObj = (GameObject)Iterator.GetChild(a);

            ColPair.Collide(pGameObj, this);
        }
コード例 #3
0
 public virtual void VisitAlienRoot(AlienRoot s)
 {
     Debug.WriteLine("Visit by AlienRoot not implemented");
     Debug.Assert(false);
 }