public MainPage() { this.InitializeComponent(); var launchArguments = string.Empty; _game = XamlGame<Game1>.Create(launchArguments, Window.Current.CoreWindow, this); }
public GamePage() { this.InitializeComponent(); // Create the game. var launchArguments = string.Empty; _game = MonoGame.Framework.XamlGame<Game1>.Create(launchArguments, Window.Current.CoreWindow, swapChainPanel); }
public MainPage(string launchArguments) { _game = XamlGame<Game1>.Create(launchArguments, Window.Current.CoreWindow, this); }