diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2020-11-26 00:44:23 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2020-11-26 00:44:23 +0100 |
commit | d0642d2a98bae64e566a6893174c1a6e95b07b6d (patch) | |
tree | 278903dce2c2ec5b4f70437370ad30ec7139d2aa /sw-common-model/src/commonMain/kotlin | |
parent | Fix resource transactions calculations (diff) | |
download | seven-wonders-d0642d2a98bae64e566a6893174c1a6e95b07b6d.tar.gz seven-wonders-d0642d2a98bae64e566a6893174c1a6e95b07b6d.tar.bz2 seven-wonders-d0642d2a98bae64e566a6893174c1a6e95b07b6d.zip |
Distinguish wonder fully built and card already played
Diffstat (limited to 'sw-common-model/src/commonMain/kotlin')
-rw-r--r-- | sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/cards/Cards.kt | 5 |
1 files changed, 3 insertions, 2 deletions
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 |