Exemple #1
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            helloWorldGame = new HelloWorldGame();
            helloWorldGame.Run(DrawingSurface);
        }
Exemple #2
0
 public static void Main(string[] args)
 {
     using (HelloWorldGame game = new HelloWorldGame())
     {
         game.Run();
     }
 }
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            helloWorldGame = new HelloWorldGame();
            helloWorldGame.Run(DrawingSurface);
        }
 public MainPage()
 {
     InitializeComponent();
     game = new HelloWorldGame();
     game.Run(this);
 }
Exemple #5
0
 static void Main()
 {
     var program = new HelloWorldGame();
     program.Run();
 }
Exemple #6
0
 static void Main()
 {
     using (var program = new HelloWorldGame())
         program.Run();
 }
Exemple #7
0
 public MainPage()
 {
     InitializeComponent();
     game = new HelloWorldGame();
     game.Run(this);
 }
Exemple #8
0
 static void Main()
 {
     using (var program = new HelloWorldGame())
         program.Run();
 }