Add city range tutorial.

This commit is contained in:
Duan Tao 2018-12-11 19:06:36 +08:00
parent 63f1f501cd
commit 2e7a2cda12
2 changed files with 12 additions and 0 deletions

View File

@ -306,5 +306,13 @@
"Units are defenseless while embarked, so be careful!"
]
]
CityRange:[
[
"Your citizens can work 3 tiles away from city center.",
"The city border will keep expanding,",
"But citizen cannot be assigned to a tile too far."
]
]
}

View File

@ -60,6 +60,10 @@ class CityScreen(internal val city: CityInfo) : CameraStageBaseScreen() {
updateGoToWorldButton()
updateTileTable()
updateTileGroups()
if (city.getCenterTile().getTilesAtDistance(4).isNotEmpty()){
displayTutorials("CityRange")
}
}
private fun updateTileGroups() {