Пример #1
0
 public override void Accept(ColVisitor other)
 {
     other.VisitInvaderCategory(this);
 }
Пример #2
0
 public override void Accept(ColVisitor other)
 {
     //what is the reaction of the "other" object
     // with the Alien Group
     other.VisitGroup(this);
 }
Пример #3
0
 public override void Accept(ColVisitor other)
 {
     //Debug.WriteLine("ShieldBrick Accepts");
     other.VisitShieldBrick(this);
 }
Пример #4
0
 public override void Accept(ColVisitor other)
 {
     Debug.Assert(false);
     throw new NotImplementedException();
 }
Пример #5
0
 public override void Accept(ColVisitor other)
 {
     other.VisitGameSpace(this);
 }
Пример #6
0
 public override void Accept(ColVisitor other)
 {
     // Important: at this point we have an Missile
     // Call the appropriate collision reaction
     other.VisitLeftUFO(this);
 }
Пример #7
0
 public override void Accept(ColVisitor other)
 {
     other.VisitBumperRight(this);
 }
Пример #8
0
 public override void Accept(ColVisitor other)
 {
     other.VisitWallBottom(this);
 }
Пример #9
0
 public override void Accept(ColVisitor other)
 {
     other.VisitUFO(this);
 }
Пример #10
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);
 }
Пример #11
0
 public override void Accept(ColVisitor other)
 {
     throw new NotImplementedException();
 }
Пример #12
0
 public override void Accept(ColVisitor other)
 {
     other.VisitCeiling(this);
 }
Пример #13
0
 public override void Accept(ColVisitor other)
 {
     other.VisitWallLeft(this);
 }
Пример #14
0
 public override void Accept(ColVisitor other)
 {
     other.VisitMissile(this);
 }
Пример #15
0
        //--------------------------------------------------------------------------
        //collisions


        public override void Accept(ColVisitor other)
        {
            // Important: at this point we have an Alien
            // Call the appropriate collision reaction
            other.VisitBomb(this);
        }
Пример #16
0
 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);
        }
Пример #18
0
 public override void Accept(ColVisitor other)
 {
     other.VisitShieldBrick(this);
 }