示例#1
0
 public void Dispose()
 {
     mainGameScreen = null;
     debugScreen = null;
     options = null;
     titleScreen = null;
 }
示例#2
0
 public ScreenManager()
 {
     splashScreen = new SplashIntroScreen();
     mainGameScreen = new MainGameScreen();
     titleScreen = new TitleScreen();
     options = new OptionsScreen();
     debugScreen = new DebugInfo();
     MainGame.CustomContentManager = new Graphics.ContentManager();
     CurrentScreen = GameScreens.SPLASH;
     LoadContent();
 }