//////////////////////////////////////////////////////////////////////////////////////////////////////////// internal void birdCollided(Bird bird) { if (isCrouching) return; //game.bird = new Bird(game); game.objectSpawner.birds.Remove(bird); scale -= 0.01f; scoreDisplay.currentPoints -= 100; if (scoreDisplay.currentPoints < 0) { scoreDisplay.currentPoints = 0; } scoreDisplay.currentSize = (int)(scale * 1000); }
/// <summary> /// Copy constructor. /// </summary> /// <param name="other">a copy of this Bird</param> public Bird(Bird other) : base(other) { WingSpan = other.WingSpan; }