Beispiel #1
0
 public Menu(GameManager game)
     : base(game)
 {
     this.game = game;
     screenWidth = game.GraphicsDevice.Viewport.Width;
     screenHeight = game.GraphicsDevice.Viewport.Height;
 }
Beispiel #2
0
 /// <summary>
 ///     The main entry point for the application.
 /// </summary>
 private static void Main(string[] args)
 {
     
     using (var game = new GameManager())
     {
         game.Run();
     }
      
    // StateLoader.Begin();
 }
Beispiel #3
0
 public Game1(GameManager game) : base(game)
 {
     this.game = game;
 }
Beispiel #4
0
 public Scene(GameManager game) : base(game)
 {
     this.game = game;
 }