Ejemplo n.º 1
0
 public override void Accept(ColVisitor other)
 {
     // Important: at this point we have an Alien
     // Call the appropriate collision reaction
     other.VisitShipRoot(this);
 }
Ejemplo n.º 2
0
 public override void Accept(ColVisitor other)
 {
     //Q: what hits the shipRoot?
     //A: mostly Bombs, but also aliens/AlienGroup(Get to later)....
     other.VisitShipRoot(this);
 }