public GamePage(string launchArguments) { this.InitializeComponent(); // Create the game. _game = XamlGame<MainGame>.Create(launchArguments, Window.Current.CoreWindow, this); }
static void Main() { using (var game = new MainGame()) game.Run(); }