Resolved #2749 - show current improvement and remaining time to build in improvement picker screen

This commit is contained in:
Yair Morgenstern 2020-06-29 21:59:45 +03:00
parent 29e25747a8
commit df18d5f8a9

View file

@ -42,6 +42,11 @@ class ImprovementPickerScreen(tileInfo: TileInfo, onAccept: ()->Unit) : PickerSc
accept(selectedImprovement)
}
if(tileInfo.improvementInProgress!=null){
val currentImprovementText = "{${tileInfo.improvementInProgress}} {in} ${tileInfo.turnsToImprovement} {turns}"
topTable.add(currentImprovementText.toLabel()).padBottom(10f).row()
}
val regularImprovements = Table()
regularImprovements.defaults().pad(5f)