mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
Added resistance icon in city screen
This commit is contained in:
parent
a1f5690e41
commit
6d9543e07b
@ -43,6 +43,12 @@ class CityScreenCityPickerTable(val cityScreen: CityScreen) : Table(){
|
||||
cityNameTable.add(starImage).size(20f).padRight(5f)
|
||||
}
|
||||
|
||||
|
||||
if (city.resistanceCounter > 0) {
|
||||
val resistanceImage = ImageGetter.getImage("StatIcons/Resistance")
|
||||
cityNameTable.add(resistanceImage).size(20f).padRight(5f)
|
||||
}
|
||||
|
||||
val currentCityLabel = Label(city.name + " (" + city.population.population + ")", CameraStageBaseScreen.skin)
|
||||
currentCityLabel.setFontSize(30)
|
||||
currentCityLabel.onClick {
|
||||
|
Loading…
x
Reference in New Issue
Block a user