Example #1
0
 /// <summary>
 /// Restarts the game
 /// </summary> 
 public void RestartGame()
 {
     Exit();
     Game1 game = new Game1();
     game.Run();
 }
Example #2
0
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }