Exemplo n.º 1
0
        private void BuildPracticeMenu()
        {
            jQuery.FromElement(_overlay).Empty();

            BuildMenuButton("Race", 395, delegate(ElementEvent e)
            {
                CurrentGame.LoadScene(new RaceLevel(CurrentGame, true, 3000000));
            });

            BuildMenuButton("Shooter", 445, delegate(ElementEvent e)
            {
                CurrentGame.LoadScene(new ShooterLevel(CurrentGame, true, 10000));
            });

            BuildMenuButton("Back", 495, delegate(ElementEvent e)
            {
                BuildMainMenu();
            });
        }