Exemple #1
0
 public override void Accept(ColVisitor other)
 {
     //what is the reaction of the "other" object
     // with the Alien Column
     other.VisitColumn(this);
 }
 public override void Accept(ColVisitor other)
 {
     // Important: at this point we have an AlienColumn
     // Call the appropriate collision reaction
     other.VisitColumn(this);
 }