예제 #1
0
 public override void Accept(ColVisitor other)
 {
     // Important: at this point we have an BirdGroup
     // Call the appropriate collision reaction
     other.VisitGroup(this);
 }
예제 #2
0
 public override void Accept(ColVisitor other)
 {
     //what is the reaction of the "other" object
     // with the Alien Group
     other.VisitGroup(this);
 }