mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-22 02:07:43 +07:00
Fade units and improvements in city
This commit is contained in:
parent
b76cd34513
commit
cbf989ce91
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user