monogame-moontools.ecs-temp.../MonoGameBlank2dStartKit/MonoGameBlank2dStartKit.Win.../Program.cs

21 lines
760 B
C#

using MonoGameBlank2dStartKit.Core;
using System.Windows.Forms;
internal class Program
{
/// <summary>
/// The main entry point for the application on Windows.
/// Configures the application for high DPI awareness.
/// It also creates an instance of your game and calls it's Run() method
/// </summary>
/// <param name="args">Command-line arguments passed to the application.</param>
private static void Main(string[] args)
{
// Configure the application to be DPI-aware for better display scaling.
Application.SetHighDpiMode(HighDpiMode.SystemAware);
// Create an instance of the game and start the game loop.
using var game = new MonoGameBlank2dStartKitGame();
game.Run();
}
}