예제 #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);
 }
예제 #2
0
 public override void Accept(ColVisitor other)
 {
     // Important: at this point we have an Bomb
     // Call the appropriate collision reaction
     other.VisitShip(this);
 }
예제 #3
0
 public override void Accept(ColVisitor other)
 {
     other.VisitShip(this);
 }