Fadeout for potentially workable tiles currently being worked by another city

Mint icon looks much nicer
This commit is contained in:
Yair Morgenstern 2020-05-07 13:04:25 +03:00
parent 0eb79fff82
commit b309cac67b
3 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 891 KiB

After

Width:  |  Height:  |  Size: 893 KiB

View File

@ -43,6 +43,7 @@ class CityTileGroup(private val city: CityInfo, tileInfo: TileInfo, tileSetStrin
city.civInfo.cities.filterNot { it == city } // worked by another city
.any { it.workedTiles.contains(tileInfo.position) } -> {
// Don't fade out, but don't add a population icon either.
baseLayerGroup.color.a = 0.5f
}