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