コード例 #1
0
 public void AddScreen(GameScreen screen)
 {
     newScreen = screen;
     ScreenStack.Push(screen);
     currentScreen.UnloadContent();
     currentScreen = newScreen;
     currentScreen.LoadContent(content);
 }
コード例 #2
0
 public void Initialize()
 {
     currentScreen = new SplashScreen();
 }