protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); _game = new NeoTestApp.Code.Game1(MonoGamePlatform.Android); _view = _game.Services.GetService(typeof(View)) as View; SetContentView(_view); _game.Run(); }
static void Main() { using (var game = new NeoTestApp.Code.Game1(MonoGamePlatform.DesktopGL)) game.Run(); }