예제 #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);
 }