Ejemplo n.º 1
0
        internal static void RunGame()
        {
            game = new MonkeyFeastGame();
            game.Run();
#if !__IOS__ && !__TVOS__
            game.Dispose();
#endif
        }
Ejemplo n.º 2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            var g = new MonkeyFeastGame();

            SetContentView((View)g.Services.GetService(typeof(View)));
            g.Run();
        }
Ejemplo n.º 3
0
        public GamePage()
        {
            this.InitializeComponent();

            // Create the game.
            var launchArguments = string.Empty;

            _game = MonoGame.Framework.XamlGame <MonkeyFeastGame> .Create(launchArguments, Window.Current.CoreWindow, swapChainPanel);
        }