Dev: Save & Load screens put into separate package

This commit is contained in:
Yair Morgenstern 2018-12-06 20:19:16 +02:00
parent 7cacff0a37
commit 20994cb908
5 changed files with 6 additions and 4 deletions

View File

@ -233,7 +233,7 @@ class CityScreen(internal val city: CityInfo) : CameraStageBaseScreen() {
statsTable.defaults().pad(2f) statsTable.defaults().pad(2f)
for (entry in stats.toHashMap().filterNot { it.value==0f }) { for (entry in stats.toHashMap().filterNot { it.value==0f }) {
statsTable.add(ImageGetter.getStatIcon(entry.key.toString())).size(20f) statsTable.add(ImageGetter.getStatIcon(entry.key.toString())).size(20f)
statsTable.add(Label(Math.round(entry.value).toString() + "", CameraStageBaseScreen.skin)) statsTable.add(Label(Math.round(entry.value).toString(), CameraStageBaseScreen.skin))
statsTable.row() statsTable.row()
} }
tileTable.add(statsTable).row() tileTable.add(statsTable).row()

View File

@ -1,4 +1,4 @@
package com.unciv.ui package com.unciv.ui.saves
import com.badlogic.gdx.utils.Base64Coder import com.badlogic.gdx.utils.Base64Coder
import java.io.BufferedReader import java.io.BufferedReader

View File

@ -1,4 +1,4 @@
package com.unciv.ui package com.unciv.ui.saves
import com.badlogic.gdx.Gdx import com.badlogic.gdx.Gdx
import com.badlogic.gdx.graphics.Color import com.badlogic.gdx.graphics.Color

View File

@ -1,4 +1,4 @@
package com.unciv.ui package com.unciv.ui.saves
import com.badlogic.gdx.Gdx import com.badlogic.gdx.Gdx
import com.badlogic.gdx.scenes.scene2d.ui.Label import com.badlogic.gdx.scenes.scene2d.ui.Label

View File

@ -3,6 +3,8 @@ package com.unciv.ui.worldscreen.optionstable
import com.unciv.UnCivGame import com.unciv.UnCivGame
import com.unciv.ui.* import com.unciv.ui.*
import com.unciv.ui.pickerscreens.PolicyPickerScreen import com.unciv.ui.pickerscreens.PolicyPickerScreen
import com.unciv.ui.saves.LoadScreen
import com.unciv.ui.saves.SaveScreen
import com.unciv.ui.utils.center import com.unciv.ui.utils.center
import com.unciv.ui.utils.tr import com.unciv.ui.utils.tr