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

            BuildMenuButton("Play!", 370, delegate(ElementEvent e)
            {
                CurrentGame.Play();
            });

            BuildMenuButton("Practice", 420, delegate(ElementEvent e)
            {
                BuildPracticeMenu();
            });

            //BuildMenuButton("Options", 470, delegate(ElementEvent e)
            //    {
            //        BuildOptionsMenu();
            //    });

            //BuildMenuButton("High Scores", 520, delegate(ElementEvent e)
            //    {
            //        CurrentGame.ShowHiScores();
            //    });

            jQuery.FromElement(_overlay).Show();
        }