Exemplo n.º 1
0
        private void start_screen()
        {
            player.SoundLocation = "1.wav";
            player.Play();
            flash  tekstmigotajacy = new flash();
            Thread oThread         = new Thread(new ThreadStart(tekstmigotajacy.start_screen));

            colorfull_snake();
            oThread.Start();
            while (!oThread.IsAlive)
            {
                ;
            }

            while (!Console.KeyAvailable)
            {
            }
            Console.ReadKey(false);
            oThread.Abort();
            oThread.Join();
            Console.Clear();
            reset_menu(true);
            highlight_menu(0, true);
            menu_conroler(false);
        }
Exemplo n.º 2
0
        private void start_screen()
        {
            player.SoundLocation = "1.wav";
            player.Play();
            flash tekstmigotajacy = new flash();
            Thread oThread = new Thread(new ThreadStart(tekstmigotajacy.start_screen));
            colorfull_snake();
            oThread.Start();
            while (!oThread.IsAlive) ;

            while (! Console.KeyAvailable) {}Console.ReadKey(false);
            oThread.Abort();
            oThread.Join();
            Console.Clear();
            reset_menu(true);
            highlight_menu(0,true);
            menu_conroler(false);
        }