示例#1
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string [] args)
        {
            NSApplication.Init();

            using (var game = new VectorRumbleGame()) {
                game.Run();
            }
        }
示例#2
0
        public GamePage()
        {
            this.InitializeComponent();

            // Create the game.
            var launchArguments = string.Empty;

            _game = MonoGame.Framework.XamlGame <VectorRumbleGame> .Create(launchArguments, Window.Current.CoreWindow, swapChainPanel);
        }
示例#3
0
        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();
            }
        }
示例#4
0
        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;
        }
示例#5
0
 static void Main(string [] args)
 {
     using (var game = new VectorRumbleGame()) {
         game.Run();
     }
 }