//~MissileGroup() //{ //} public override void Accept(ColVisitor other) { // Important: at this point we have an MissileGroup // Call the appropriate collision reaction other.VisitMissileGroup(this); }
public override void Accept(ColVisitor other) { //In MissileGroup now find the reaction //of the "other" object with MissileGroup other.VisitMissileGroup(this); }