mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-16 10:49:17 +07:00
Fade units and improvements in city
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user