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