/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (KryptonDemoGame game = new KryptonDemoGame()) { game.Run(); } }
/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (KryptonDemoGame game = new KryptonDemoGame()) { game.Run(); } }
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 (); }