Exemplo n.º 1
0
 public void LoadNewScreen(Screen.Screen newScreen)
 {
     currentScreen.UnloadContent();
     currentScreen = newScreen;
     currentScreen.Initialize();
     currentScreen.LoadContent(GraphicsDevice, Content);
 }
Exemplo n.º 2
0
 public TileGame()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     currentScreen         = new Screen.SplashScreen(this);
 }