Exemple #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Exemple #2
0
		internal static void RunGame ()
		{
			game = new Game1 ();
			game.Run ();
			#if !__IOS__  && !__TVOS__
			game.Dispose ();
			#endif
		}
Exemple #3
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     Console.Title = "TestGame";
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Exemple #4
0
 public override void FinishedLaunching(MonoMac.Foundation.NSObject notification)
 {
     // Handle a Xamarin.Mac Upgrade
     AppDomain.CurrentDomain.AssemblyResolve += (object sender, ResolveEventArgs a) => {
         if (a.Name.StartsWith ("MonoMac")) {
             return typeof(MonoMac.AppKit.AppKitFramework).Assembly;
         }
         return null;
     };
     game = new Game1 ();
     game.Run ();
 }
Exemple #5
0
 public override void FinishedLaunching(UIApplication app)
 {
     // Fun begins..
     game = new Game1();
     game.Run();
 }
Exemple #6
0
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }
Exemple #7
0
 static void Main()
 {
     game = new Game1 ();
     game.Run ();
 }