internal static void RunGame() { game = new MonkeyFeastGame(); game.Run(); #if !__IOS__ && !__TVOS__ game.Dispose(); #endif }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); var g = new MonkeyFeastGame(); SetContentView((View)g.Services.GetService(typeof(View))); g.Run(); }
public GamePage() { this.InitializeComponent(); // Create the game. var launchArguments = string.Empty; _game = MonoGame.Framework.XamlGame <MonkeyFeastGame> .Create(launchArguments, Window.Current.CoreWindow, swapChainPanel); }