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(); }
// class-level declarations internal static void RunGame() { game = new ChipmunkDemoGame(); game.Run(); }