/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Psuedo3DRacer game = new Psuedo3DRacer()) { game.Run(); } }
public GamePage(string launchArguments) { this.InitializeComponent(); // Create the game. _game = XamlGame<Psuedo3DRacer>.Create(launchArguments, Window.Current.CoreWindow, this); }
// Constructor public GamePage() { InitializeComponent(); _game = XamlGame<Psuedo3DRacer>.Create("", this); // Sample code to localize the ApplicationBar //BuildLocalizedApplicationBar(); }
static void Main() { game = new Psuedo3DRacer(); game.Run(); }