Пример #1
0
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }
Пример #2
0
 public GameHandler(Game1 game)
 {
     GameHandler.game = game;
     renderTarget = new RenderTarget2D(game.GraphicsDevice, game.Window.ClientBounds.Width, game.Window.ClientBounds.Height);
 }