Example #1
0
 public static void Main()
 {
     using (Game game = new Game())
     {
         game.Run();
     }
 }
Example #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            Game game = new Game();
            View view = (View)game.Services.GetService(typeof(View));
            this.SetContentView(view);

            game.Run();
        }