Fade units and improvements in city

This commit is contained in:
Yair Morgenstern 2023-01-23 21:39:13 +02:00
parent b76cd34513
commit cbf989ce91

View File

@ -71,8 +71,14 @@ class CityTileGroup(private val city: City, tile: Tile, tileSetStrings: TileSetS
}
unitLayerGroup.isVisible = false
// All of these things on the tile aren't interesting from a city perspective
terrainFeatureLayerGroup.color.a = 0.5f
icons.improvementIcon?.setColor(1f, 1f, 1f, 0.5f)
resourceImage?.setColor(1f, 1f, 1f, 0.5f)
pixelCivilianUnitGroup.setColor(1f, 1f, 1f, 0.5f)
pixelMilitaryUnitGroup.setColor(1f, 1f, 1f, 0.5f)
updatePopulationIcon()
updateYieldGroup()
}