From f238cb3f3c5904d93188ed93f073ca48d8c0e8ab Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Fri, 28 May 2021 14:39:09 +0300 Subject: [PATCH] Renamed ConstructionsTable -> CityConstructionsTable --- .../{ConstructionsTable.kt => CityConstructionsTable.kt} | 2 +- core/src/com/unciv/ui/cityscreen/CityScreen.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename core/src/com/unciv/ui/cityscreen/{ConstructionsTable.kt => CityConstructionsTable.kt} (99%) diff --git a/core/src/com/unciv/ui/cityscreen/ConstructionsTable.kt b/core/src/com/unciv/ui/cityscreen/CityConstructionsTable.kt similarity index 99% rename from core/src/com/unciv/ui/cityscreen/ConstructionsTable.kt rename to core/src/com/unciv/ui/cityscreen/CityConstructionsTable.kt index 438b848a2f..c36d7998fd 100644 --- a/core/src/com/unciv/ui/cityscreen/ConstructionsTable.kt +++ b/core/src/com/unciv/ui/cityscreen/CityConstructionsTable.kt @@ -21,7 +21,7 @@ import kotlin.concurrent.thread import kotlin.math.min import com.unciv.ui.utils.AutoScrollPane as ScrollPane -class ConstructionsTable(val cityScreen: CityScreen) : Table(CameraStageBaseScreen.skin) { +class CityConstructionsTable(val cityScreen: CityScreen) : Table(CameraStageBaseScreen.skin) { /* -1 = Nothing, >= 0 queue entry (0 = current construction) */ private var selectedQueueEntry = -1 // None diff --git a/core/src/com/unciv/ui/cityscreen/CityScreen.kt b/core/src/com/unciv/ui/cityscreen/CityScreen.kt index 04251c0bac..e8b7b2693a 100644 --- a/core/src/com/unciv/ui/cityscreen/CityScreen.kt +++ b/core/src/com/unciv/ui/cityscreen/CityScreen.kt @@ -27,7 +27,7 @@ class CityScreen(internal val city: CityInfo): CameraStageBaseScreen() { // Clockwise from the top-left /** Displays current production, production queue and available productions list - sits on LEFT */ - private var constructionsTable = ConstructionsTable(this) + private var constructionsTable = CityConstructionsTable(this) /** Displays stats, buildings, specialists and stats drilldown - sits on TOP LEFT, can be toggled to */ private var cityInfoTable = CityInfoTable(this)