Пример #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Psuedo3DRacer game = new Psuedo3DRacer())
     {
         game.Run();
     }
 }
Пример #2
0
        public GamePage(string launchArguments)
        {
            this.InitializeComponent();

            // Create the game.
            _game = XamlGame<Psuedo3DRacer>.Create(launchArguments, Window.Current.CoreWindow, this);
        }
Пример #3
0
        // Constructor
        public GamePage()
        {
            InitializeComponent();

            _game = XamlGame<Psuedo3DRacer>.Create("", this);

            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
        }
Пример #4
0
 static void Main()
 {
     game = new Psuedo3DRacer();
     game.Run();
 }