using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
using AlienAttack;
using MonoGame.Framework;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkID=390556

namespace AlienAttack_WinPhone
{
	/// <summary>
	/// An empty page that can be used on its own or navigated to within a Frame.
	/// </summary>
	public sealed partial class GamePage : SwapChainBackgroundPanel
	{
		readonly AlienAttackGame _game;
		public GamePage()
		{
			this.InitializeComponent();
		}

		public GamePage(string launchArguments)
		{
			_game = XamlGame<AlienAttackGame>.Create(launchArguments, Window.Current.CoreWindow, this);
		}
	}
}
