/// <summary> /// Restarts the game with same settings. /// </summary> internal void Restart() { gameField.CleanField(); gameField.GenBombs(); endForm.Close(); EndState = false; gameForm.Invalidate(); }