Exemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (KryptonDemoGame game = new KryptonDemoGame())
     {
         game.Run();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (KryptonDemoGame game = new KryptonDemoGame())
     {
         game.Run();
     }
 }
Exemplo n.º 3
0
		protected override void OnCreate (Bundle bundle)
		{
			Krypton.KryptonEngine.Activity = this;
			base.OnCreate (bundle);

			var g = new KryptonDemoGame();
			SetContentView((View)g.Services.GetService(typeof(View)));

			View content = FindViewById (Android.Resource.Id.Content);
			if (null != content) {
				content.KeepScreenOn = true;
			}

			g.Run ();
		}