spreadResources

private fun spreadResources(tileMap: TileMap)
private fun spreadResources(tileMap: TileMap, mapRadius: Int, resourceType: ResourceType)

Spreads resources of type resourceType picking locations at a minimum distance from each other, which is determined from mapRadius and then tuned down until the desired number fits. MapParameters.resourceRichness used to control how many resources to spawn.