コード例 #1
0
        //--------------------------------------------------------------------------
        //collisions

        public override void Accept(ColVisitor other)
        {
            // Important: at this point we have an Alien
            // Call the appropriate collision reaction
            other.VisitShieldGrid(this);
        }
コード例 #2
0
 public override void Accept(ColVisitor other)
 {
     other.VisitShieldGrid(this);
 }