예제 #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);
 }