protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            // Set our view from the "main" layout resource
            var game = new ChipmunkDemoGame();

            SetContentView((View)game.Services.GetService(typeof(View)));
            game.Run();
        }
Beispiel #2
0
        // class-level declarations

        internal static void RunGame()
        {
            game = new ChipmunkDemoGame();
            game.Run();
        }