From 922faefc516126d8eae6c8ced960dfaa9ec2f25a Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Fri, 15 May 2020 03:54:10 +0200 Subject: Add player index in scoreboard --- .../src/commonMain/kotlin/org/luxons/sevenwonders/model/score/Score.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'sw-common-model/src/commonMain') 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 10fe02e1..3f9dbe41 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 @@ -7,6 +7,7 @@ class ScoreBoard(val scores: Collection) @Serializable data class PlayerScore( + val playerIndex: Int, val boardGold: Int, val pointsByCategory: Map ) : Comparable { -- cgit