mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-21 21:30:20 +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
|
unitLayerGroup.isVisible = false
|
||||||
|
|
||||||
|
// All of these things on the tile aren't interesting from a city perspective
|
||||||
terrainFeatureLayerGroup.color.a = 0.5f
|
terrainFeatureLayerGroup.color.a = 0.5f
|
||||||
icons.improvementIcon?.setColor(1f, 1f, 1f, 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()
|
updatePopulationIcon()
|
||||||
updateYieldGroup()
|
updateYieldGroup()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user