summaryrefslogtreecommitdiff
path: root/sw-common-model/src/commonMain/kotlin/org/luxons
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-05-23 01:28:04 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-05-23 01:40:39 +0200
commit0249e3f8b6d32ffb8c0370261d22084221aba1ca (patch)
treef04fea6453fae5f50b265345f95aa5eb73cae2b5 /sw-common-model/src/commonMain/kotlin/org/luxons
parentPlay default cheapest transactions (diff)
downloadseven-wonders-0249e3f8b6d32ffb8c0370261d22084221aba1ca.tar.gz
seven-wonders-0249e3f8b6d32ffb8c0370261d22084221aba1ca.tar.bz2
seven-wonders-0249e3f8b6d32ffb8c0370261d22084221aba1ca.zip
Add score board UI at end of game
Diffstat (limited to 'sw-common-model/src/commonMain/kotlin/org/luxons')
-rw-r--r--sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/score/Score.kt16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/score/Score.kt b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/score/Score.kt
index 3f9dbe41..1896ecd3 100644
--- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/score/Score.kt
+++ b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/score/Score.kt
@@ -17,12 +17,12 @@ data class PlayerScore(
override fun compareTo(other: PlayerScore) = compareValuesBy(this, other, { it.totalPoints }, { it.boardGold })
}
-enum class ScoreCategory {
- CIVIL,
- SCIENCE,
- MILITARY,
- TRADE,
- GUILD,
- WONDER,
- GOLD
+enum class ScoreCategory(val title: String) {
+ CIVIL("Civil"),
+ SCIENCE("Science"),
+ MILITARY("War"),
+ TRADE("Trade"),
+ GUILD("Guild"),
+ WONDER("Wonder"),
+ GOLD("Gold")
}
bgstack15