예제 #1
0
        public void EndGame(string level)
        {
            string currentLvl = gameScreen.LevelFile;
            string levelName  = gameScreen.LevelName;

            gameScreen     = null;
            endLevelScreen = new EndLevelScreen(game, level, currentLvl, levelName);
            currentScreen  = Screen.EndLevelScreen;
        }
예제 #2
0
 public void EndGame(string level)
 {
     string currentLvl = gameScreen.LevelFile;
     string levelName = gameScreen.LevelName;
     gameScreen = null;
     endLevelScreen = new EndLevelScreen(game,  level, currentLvl, levelName);
     currentScreen = Screen.EndLevelScreen;
 }