static void Main() { using (var game = new SampleGame()) { //var config = new Config() //{ // PlatformOS = PlatformOS.Windows, // IsFullscreen = false, // IsMouseAvailable = true, //}; game.Window.AllowUserResizing = true; game.Initialize(); game.Window.ClientSizeChanged += (object sender, EventArgs e) => { game.SetClientSize(game.Window.ClientBounds.Width, game.Window.ClientBounds.Height); }; game.Run(); } }
static void Main() { using (var game = new SampleGame()) game.Run(); }