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