public override void Accept(ColVisitor other) { other.VisitInvaderCategory(this); }
public override void Accept(ColVisitor other) { //what is the reaction of the "other" object // with the Alien Group other.VisitGroup(this); }
public override void Accept(ColVisitor other) { //Debug.WriteLine("ShieldBrick Accepts"); other.VisitShieldBrick(this); }
public override void Accept(ColVisitor other) { Debug.Assert(false); throw new NotImplementedException(); }
public override void Accept(ColVisitor other) { other.VisitGameSpace(this); }
public override void Accept(ColVisitor other) { // Important: at this point we have an Missile // Call the appropriate collision reaction other.VisitLeftUFO(this); }
public override void Accept(ColVisitor other) { other.VisitBumperRight(this); }
public override void Accept(ColVisitor other) { other.VisitWallBottom(this); }
public override void Accept(ColVisitor other) { other.VisitUFO(this); }
public override void Accept(ColVisitor other) { //Q: what hits the shipRoot? //A: mostly Bombs, but also aliens/AlienGroup(Get to later).... other.VisitShipRoot(this); }
public override void Accept(ColVisitor other) { throw new NotImplementedException(); }
public override void Accept(ColVisitor other) { other.VisitCeiling(this); }
public override void Accept(ColVisitor other) { other.VisitWallLeft(this); }
public override void Accept(ColVisitor other) { other.VisitMissile(this); }
//-------------------------------------------------------------------------- //collisions public override void Accept(ColVisitor other) { // Important: at this point we have an Alien // Call the appropriate collision reaction other.VisitBomb(this); }
abstract public void Accept(ColVisitor other);
//~NullGameObject() //{ //} public override void Accept(ColVisitor other) { // Important: at this point we have an NullGameObject // Call the appropriate collision reaction other.VisitNullGameObject(this); }
public override void Accept(ColVisitor other) { other.VisitShieldBrick(this); }