Пример #1
0
        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();
        }
Пример #2
0
 static void Main()
 {
     using (var game = new NeoTestApp.Code.Game1(MonoGamePlatform.DesktopGL))
         game.Run();
 }