Ejemplo n.º 1
0
        public MainPage()
        {
            this.InitializeComponent();

            var launchArguments = string.Empty;
            _game = XamlGame<Game1>.Create(launchArguments, Window.Current.CoreWindow, this);
        }
Ejemplo n.º 2
0
        public GamePage()
        {
            this.InitializeComponent();

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