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