summaryrefslogtreecommitdiff
path: root/sw-common-model/src/commonMain
diff options
context:
space:
mode:
Diffstat (limited to 'sw-common-model/src/commonMain')
-rw-r--r--sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/Moves.kt2
-rw-r--r--sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/TableState.kt (renamed from sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/GameState.kt)2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/Moves.kt b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/Moves.kt
index 22cbfc8c..d684505e 100644
--- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/Moves.kt
+++ b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/Moves.kt
@@ -19,7 +19,7 @@ enum class Action(val message: String) {
@Serializable
data class PlayerTurnInfo(
val playerIndex: Int,
- val table: GameState,
+ val table: TableState,
val action: Action,
val hand: List<HandCard>?,
val preparedMove: PlayedMove?,
diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/GameState.kt b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/TableState.kt
index 29423cd7..1f1ed3ee 100644
--- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/GameState.kt
+++ b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/TableState.kt
@@ -7,7 +7,7 @@ import org.luxons.sevenwonders.model.cards.HandRotationDirection
typealias Age = Int
@Serializable
-data class GameState(
+data class TableState(
val boards: List<Board>,
val currentAge: Age,
val handRotationDirection: HandRotationDirection,
bgstack15