mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
update
This commit is contained in:
parent
56ce2245e2
commit
9820a12b0a
@ -185,18 +185,18 @@ object ImageGetter {
|
||||
}
|
||||
|
||||
fun getTechIconGroup(techName: String): Group {
|
||||
var COLOR= Color.WHITE
|
||||
var TechIconColor = Color.WHITE
|
||||
when(GameBasics.Technologies[techName]!!.era().name){
|
||||
"Ancient"-> COLOR= Color.FIREBRICK
|
||||
"Classical"-> COLOR= Color.VIOLET
|
||||
"Medieval"-> COLOR= Color.TAN
|
||||
"Renaissance"-> COLOR= Color.BROWN
|
||||
"Industrial"-> COLOR= Color.CHARTREUSE
|
||||
"Modern"-> COLOR= Color.GOLD
|
||||
"Information"-> COLOR= Color.CORAL
|
||||
"Future"-> COLOR= Color.CYAN
|
||||
"Ancient"-> TechIconColor = Color.FIREBRICK
|
||||
"Classical"-> TechIconColor = Color.VIOLET
|
||||
"Medieval"-> TechIconColor = Color.TAN
|
||||
"Renaissance"-> TechIconColor = Color.BROWN
|
||||
"Industrial"-> TechIconColor = Color.CHARTREUSE
|
||||
"Modern"-> TechIconColor = Color.GOLD
|
||||
"Information"-> TechIconColor = Color.CORAL
|
||||
"Future"-> TechIconColor = Color.CYAN
|
||||
}
|
||||
return getImage("TechIcons/$techName").surroundWithCircle(60f).apply { this.circle.color= COLOR }
|
||||
return getImage("TechIcons/$techName").surroundWithCircle(60f).apply{ this.circle.color = TechIconColor }
|
||||
}
|
||||
|
||||
fun getProgressBarVertical(width:Float,height:Float,percentComplete:Float,progressColor:Color,backgroundColor:Color): Table {
|
||||
|
Loading…
x
Reference in New Issue
Block a user