Ejemplo n.º 1
0
 public override void Collide(Collidable element)
 {
     numberOfCollisions--;
     element.HandleCollision(this);
     if (this.numberOfCollisions == 0)
     {
         this.weaponState        = new InExhibition(this);
         this.numberOfCollisions = 3;
         return;
     }
     this.Bounce(element);
     this.soundManager.GetSound("Bomba").stop();
 }
 public override void Collide(Collidable element)
 {
     element.HandleCollision(this);
     this.weaponState = new InExhibition(this);
     return;
 }