Example #1
0
 public override void Accept(CollisionVisitor other)
 {
     other.VisitMissileGroup(this);
 }
Example #2
0
 public override void Accept(CollisionVisitor other)
 {
     // Important: at this point we have an MissileGroup
     // Call the appropriate collision reaction
     other.VisitMissileGroup(this);
 }