Lines go behind the techs in the tech screen, and are colored so you can trace the path of the current research queue

This commit is contained in:
Yair Morgenstern 2020-10-05 12:12:15 +03:00
parent 5553be0d67
commit 256eedc7c0

View File

@ -192,11 +192,13 @@ class TechPickerScreen(internal val civInfo: CivilizationInfo, centerOnTech: Tec
val lineColor = when {
civTech.isResearched(tech.name) && !tech.isContinuallyResearchable() -> researchedTechColor
civTech.isResearched(prerequisite) -> researchableTechColor
tempTechsToResearch.contains(tech.name) -> queuedTechColor
else -> Color.GRAY
}
line.color = lineColor
techTable.addActor(line)
line.toBack()
lines.add(line)
}
}