Exemple #1
0
        private void controll()
        {
            if (!gameOver)
            {
                bird.JumpSound.Play();
                bird.jump();
            }
            else
            {
                init();
            }

            if (!timer1.Enabled)
            {
                timer1.Start();
                timer1.Interval = 10;
                bird.jump();
            }
        }