From d0642d2a98bae64e566a6893174c1a6e95b07b6d Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Thu, 26 Nov 2020 00:44:23 +0100 Subject: Distinguish wonder fully built and card already played --- .../commonMain/kotlin/org/luxons/sevenwonders/model/cards/Cards.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sw-common-model') diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/cards/Cards.kt b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/cards/Cards.kt index 238e2612..16cd6ca1 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/cards/Cards.kt +++ b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/cards/Cards.kt @@ -63,7 +63,8 @@ enum class PlayabilityLevel(val message: String) { MISSING_REQUIRED_GOLD("not enough gold"), MISSING_GOLD_FOR_RES("not enough gold to buy resources"), UNAVAILABLE_RESOURCES("missing resources that even neighbours don't have"), - INCOMPATIBLE_WITH_BOARD("card already on the board") + ALREADY_PLAYED("card already played"), + WONDER_FULLY_BUILT("all wonder levels are already built"), } enum class Color(val isResource: Boolean) { @@ -73,7 +74,7 @@ enum class Color(val isResource: Boolean) { BLUE(false), GREEN(false), RED(false), - PURPLE(false) + PURPLE(false), } @Serializable -- cgit