summaryrefslogtreecommitdiff
path: root/sw-common-model
diff options
context:
space:
mode:
Diffstat (limited to 'sw-common-model')
-rw-r--r--sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/wonders/Wonders.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/wonders/Wonders.kt b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/wonders/Wonders.kt
index dbca061e..778c8b80 100644
--- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/wonders/Wonders.kt
+++ b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/wonders/Wonders.kt
@@ -20,7 +20,6 @@ data class PreGameWonder(
data class AssignedWonder(
val name: WonderName,
val side: WonderSide,
- val image: String,
)
enum class WonderSide {
@@ -33,7 +32,7 @@ fun List<PreGameWonder>.deal(nbPlayers: Int, random: Random = Random): List<Assi
fun PreGameWonder.withRandomSide(random: Random = Random): AssignedWonder = withSide(WonderSide.values().random(random))
-fun PreGameWonder.withSide(side: WonderSide): AssignedWonder = AssignedWonder(name, side, images.getValue(side))
+fun PreGameWonder.withSide(side: WonderSide): AssignedWonder = AssignedWonder(name, side)
@Serializable
data class ApiWonder(
bgstack15