private void ClearInventory() { for (int y = Map.MapHeight - 4; y < Map.MapHeight; y++) { for (int x = Map.MapWidth + 1; x < Map.MapWidth + Map.MapExtension; x++) { legend[x, y] = new LegendField(x, y); } } }
private void ClearLegend() { for (int y = 0; y < Map.MapHeight; y++) { for (int x = Map.MapWidth; x < Map.MapWidth + Map.MapExtension; x++) { legend[x, y] = new LegendField(x, y); } } }