public void GenerateMap() { PlaceMines(); for (int i = 0; i < Height; i++) { for (int j = 0; j < Width; j++) { if (Map[i, j].IsMine()) { continue; } Map[i, j] = Field.FromInt(CalculateMineCount(i, j)); } } }