Exemplo n.º 1
0
 public void setScreen(Screen screen)
 {
     currentScreen.removeContent();
     Components.Remove(currentScreen);
     currentScreen = screen;
     Components.Add(currentScreen);
 }
Exemplo n.º 2
0
 protected override void Initialize()
 {
     world = new World();
     System.Console.Error.WriteLine(world);
     currentScreen = new SplashScreen();
     Components.Add(currentScreen);
     base.Initialize();
 }