Ejemplo n.º 1
0
 static void Main()
 {
     using (Particle3DSampleGame game = new Particle3DSampleGame())
     {
         game.Run();
     }
 }
Ejemplo n.º 2
0
        public GamePage()
        {
            this.InitializeComponent();

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

            _game = MonoGame.Framework.XamlGame <Particle3DSampleGame> .Create(launchArguments, Window.Current.CoreWindow, swapChainPanel);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
#if MONOMAC
            NSApplication.Init();

            using (var p = new NSAutoreleasePool()) {
                NSApplication.SharedApplication.Delegate = new AppDelegate();
                NSApplication.Main(args);
            }
#else
            using (var game = new Particle3DSampleGame()) {
                game.Run();
            }
#endif
        }
Ejemplo n.º 4
0
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		static void Main (string[] args)
		{
#if MONOMAC
			NSApplication.Init ();

			using (var p = new NSAutoreleasePool ()) {
				NSApplication.SharedApplication.Delegate = new AppDelegate ();
				NSApplication.Main (args);
			}
#else
			using (var game = new Particle3DSampleGame()) {
				game.Run();
			}
#endif

		}
Ejemplo n.º 5
0
 public override void FinishedLaunching(MonoMac.Foundation.NSObject notification)
 {
     using (Particle3DSampleGame game = new Particle3DSampleGame ()) {
         game.Run ();
     }
 }
Ejemplo n.º 6
0
 public override void FinishedLaunching(MonoMac.Foundation.NSObject notification)
 {
     game = new Particle3DSampleGame();
     game.Run();
 }
Ejemplo n.º 7
0
 private static void Main()
 {
     using (var game = new Particle3DSampleGame())
         game.Run();
 }
Ejemplo n.º 8
0
 static void Main()
 {
     using (Particle3DSampleGame game = new Particle3DSampleGame())
     {
         game.Run();
     }
 }