changeBuildingNameIfNotInRuleset

private fun changeBuildingNameIfNotInRuleset(ruleSet: Ruleset, cityConstructions: CityConstructions, oldBuildingName: String, newBuildingName: String)

Replaces all occurrences of oldBuildingName in cityConstructions with newBuildingName if the former is not contained in the ruleset.

Sources

jvm source
Link copied to clipboard