/// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main()
 {
     using (PrimitivesSampleGame game = new PrimitivesSampleGame())
     {
         game.Run();
     }
 }
Beispiel #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();
		}
Beispiel #3
0
			public override void FinishedLaunching (MonoMac.Foundation.NSObject notification)
			{
				game = new PrimitivesSampleGame();
				game.Run();
			}
 public override void FinishedLaunching(MonoMac.Foundation.NSObject notification)
 {
     game = new PrimitivesSampleGame();
     game.Run();
 }
Beispiel #5
0
 public override void FinishedLaunching(UIApplication app)
 {
     // Fun begins..
     game = new PrimitivesSampleGame();
     game.Run();
 }