protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); _game = new SampleTemplateGame(); _view = _game.Services.GetService(typeof(View)) as View; SetContentView(_view); _game.Run(); }
static void Main() { using (var game = new SampleTemplateGame()) game.Run(); }
internal static void RunGame() { game = new SampleTemplateGame(); game.Run(); }