示例#1
0
 public override void Accept(CollisionVisitor other)
 {
     if (this.poHead != null)
     {
         other.VisitBombGroup(this);
     }
 }
示例#2
0
 public override void Accept(CollisionVisitor other)
 {
     // Debug.WriteLine("MissilRoot Accept");
     other.visitMissileRoot(this);
 }
 public override void Accept(CollisionVisitor other)
 {
     other.visitNullGameObject(this);
 }
示例#4
0
 public override void Accept(CollisionVisitor other)
 {
     // Call the appropriate collision reaction
     other.VisitBomb(this);
 }
示例#5
0
 public override void Accept(CollisionVisitor other)
 {
     other.VisitLeftWall(this);
 }
示例#6
0
 //---------------------------------------------------------------------------------------------------------
 // Override abstract methods
 //---------------------------------------------------------------------------------------------------------
 public override void accept(CollisionVisitor other)
 {
     other.visitShieldRoot(this);
 }
 public override void Accept(CollisionVisitor other)
 {
     other.visitCannonShip(this);
 }
示例#8
0
 public override void Accept(CollisionVisitor other)
 {
     Debug.Assert(false);
 }
 public override void Accept(CollisionVisitor other)
 {
     // Call the appropriate collision reaction
     other.VisitFlyingSaucerRoot(this);
 }
示例#10
0
        //public override void Remove()
        //{
        //    // Keenan(delete.E)
        //    // Since the Root object is being drawn
        //    // 1st set its size to zero
        //    this.poColObj.poColRect.Set(0, 0, 0, 0);
        //    base.Update();


        //    this.pProxySprite.Set(GameSprite.Name.NullObject);

        //    this.x = 0.0f;
        //    this.y = 0.0f;

        //    //// Update the parent (missile root)
        //    //GameObject pParent = (GameObject)this.pParent;

        //    //remove missile from composite...
        //    //pParent.Remove(this);
        //    //pParent.Update();



        //    // Now remove it
        //    //base.Remove();
        //}

        public override void Accept(CollisionVisitor other)
        {
            // Important: at this point we have an Missile
            // Call the appropriate collision reaction
            other.VisitMissile(this);
        }
示例#11
0
 public override void Accept(CollisionVisitor other)
 {
     other.VisitBumperRight(this);
 }
示例#12
0
 abstract public void Accept(CollisionVisitor other);
示例#13
0
 public override void accept(CollisionVisitor other)
 {
     other.visitOctopus(this);
 }
 public override void Accept(CollisionVisitor other)
 {
     // Important: at this point we have an BirdGroup
     // Call the appropriate collision reaction
     other.VisitGreenSquid(this);
 }
示例#15
0
 public override void Accept(CollisionVisitor other)
 {
     // Debug.WriteLine("BommRoot accept");
     other.visitBombRoot(this);
 }
示例#16
0
 public override void accept(CollisionVisitor other)
 {
     other.visitCrab(this);
 }
示例#17
0
 public override void Accept(CollisionVisitor other)
 {
     other.VisitMissile(this);
 }
 public override void Accept(CollisionVisitor other)
 {
     other.visitShieldColumn(this);
 }
示例#19
0
 //---------------------------------------------------------
 // Override abstract class
 //---------------------------------------------------------
 public override void accept(CollisionVisitor other)
 {
     other.visitWallRight(this);
 }
示例#20
0
 public override void Accept(CollisionVisitor other)
 {
     other.visitMissileStraight(this);
 }
 public override void Accept(CollisionVisitor other)
 {
     other.visitFlippingBomb(this);
 }
示例#22
0
 public override void Accept(CollisionVisitor other)
 {
     other.VisitCoreCannon(this);
 }
示例#23
0
 public override void Accept(CollisionVisitor other)
 {
     throw new System.NotImplementedException();
 }
示例#24
0
 public override void Accept(CollisionVisitor other)
 {
     other.visitZigZagBomb(this);
 }
示例#25
0
 public override void Accept(CollisionVisitor other)
 {
     other.VisitAlienGroup(this);
 }
示例#26
0
 public override void accept(CollisionVisitor other)
 {
     other.visitMissileGroup(this);
 }
示例#27
0
 public override void Accept(CollisionVisitor other)
 {
     //  Debug.WriteLine("UFO Accept");
     other.visitUFORoot(this);
 }
示例#28
0
 public override void Accept(CollisionVisitor other)
 {
     //Debug.WriteLine("Wall Root accept");
     other.VisitWallRoot(this);
 }
示例#29
0
 public override void Accept(CollisionVisitor other)
 {
     // Important: at this point we have an Alien
     // Call the appropriate collision reaction
     other.VisitShieldRoot(this);
 }
 public abstract void accept(CollisionVisitor other);