Exemplo n.º 1
0
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }
Exemplo n.º 2
0
 public GameHandler(Game1 game)
 {
     GameHandler.game = game;
     renderTarget = new RenderTarget2D(game.GraphicsDevice, game.Window.ClientBounds.Width, game.Window.ClientBounds.Height);
 }