예제 #1
0
        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();
        }
예제 #2
0
        // class-level declarations

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