예제 #1
0
파일: Program.cs 프로젝트: cwharris/krypton
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (KryptonDemoGame game = new KryptonDemoGame())
     {
         game.Run();
     }
 }
예제 #2
0
파일: Program.cs 프로젝트: i-e-b/Krypton
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main()
 {
     using (var game = new KryptonDemoGame())
     {
         game.Run();
     }
 }
예제 #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();
        }