/// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main()
 {
     using (PrimitivesSampleGame game = new PrimitivesSampleGame())
     {
         game.Run();
     }
 }
예제 #2
0
		protected override void OnCreate (Bundle bundle)
		{
			base.OnCreate (bundle);

			// Create our OpenGL view, and display it
			PrimitivesSampleGame.Activity = this;
			var g = new PrimitivesSampleGame();
			SetContentView (g.Window);
			g.Run();
		}
예제 #3
0
			public override void FinishedLaunching (MonoMac.Foundation.NSObject notification)
			{
				game = new PrimitivesSampleGame();
				game.Run();
			}
예제 #4
0
 public override void FinishedLaunching(MonoMac.Foundation.NSObject notification)
 {
     game = new PrimitivesSampleGame();
     game.Run();
 }
예제 #5
0
 public override void FinishedLaunching(UIApplication app)
 {
     // Fun begins..
     game = new PrimitivesSampleGame();
     game.Run();
 }