Exemple #1
0
        public static void GoToMainMenu()
        {
            CurrentGameState = GameState.MainMenu;
            CurrentGameMode  = GameMode.None;
            string basePath = Path.GetDirectoryName(System.AppDomain.CurrentDomain.BaseDirectory);

            try
            {
                DataFolder.LoadLevelForBackground(basePath + "/Content/Levels/MainMenu.lvl");
            }
            catch
            {
            }
        }