Example #1
0
        //Ende, führt wiederholt die Aktionen der GameOver-Funktin aus, zudem öffnet sie die HighScore-Liste
        private void End()
        {
            MonstersDelete();
            if (System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable())
            {
                Connections c = new Connections();

                c.InsertData(Score, Stage, Hits);
            }
            else
            {
                new NetworkFail().Show(this);
            }
            Over = true;
            Live3.Hide();
            Live2.Hide();
            Live1.Hide();
            Label5.Show();
            Bullets.Stop();
            MonstersMove.Stop();
            Random.Stop();
            MonstersAttack.Stop();
            GameOver();
        }