Ejemplo n.º 1
0
 public LoadingScreen(ScreenManager manager, bool loadingIsSlow, params GameScreen[] screensToLoad)
     : base(manager)
 {
     this.loadingIsSlow = loadingIsSlow;
     this.screensToLoad = screensToLoad;
     this.TransitionOnTime = TimeSpan.FromSeconds(0.5f);
 }
Ejemplo n.º 2
0
 public SpaceGame()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     screenManager = new ScreenManager(this);
     Components.Add(screenManager);
 }
Ejemplo n.º 3
0
 public MainMenuScreen(ScreenManager manager)
     : base(manager)
 {
 }
Ejemplo n.º 4
0
 public GameScreen(ScreenManager manager)
 {
     this.screenManager = manager;
     this.components = new List<ScreenComponent>();
 }