/// <summary> /// The main entry point for the application. /// </summary> static void Main(string [] args) { NSApplication.Init(); using (var game = new VectorRumbleGame()) { game.Run(); } }
public GamePage() { this.InitializeComponent(); // Create the game. var launchArguments = string.Empty; _game = MonoGame.Framework.XamlGame <VectorRumbleGame> .Create(launchArguments, Window.Current.CoreWindow, swapChainPanel); }
static void Main(string [] args) { #if DEBUG // Purely for testing purposes System.Globalization.CultureInfo.CurrentCulture = new System.Globalization.CultureInfo("es-ES"); System.Globalization.CultureInfo.CurrentUICulture = new System.Globalization.CultureInfo("es-ES"); #endif using (var game = new VectorRumbleGame()) { game.Run(); } }
public GamePage() { this.InitializeComponent(); // Create the game. var launchArguments = string.Empty; _game = MonoGame.Framework.XamlGame <VectorRumbleGame> .Create(launchArguments, Window.Current.CoreWindow, swapChainPanel); ApplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.FullScreen; }
static void Main(string [] args) { using (var game = new VectorRumbleGame()) { game.Run(); } }