diff options
Diffstat (limited to 'game-engine/src/main')
-rw-r--r-- | game-engine/src/main/kotlin/org/luxons/sevenwonders/game/resources/Resources.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/resources/Resources.kt b/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/resources/Resources.kt index 333c8edb..476ffea8 100644 --- a/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/resources/Resources.kt +++ b/game-engine/src/main/kotlin/org/luxons/sevenwonders/game/resources/Resources.kt @@ -62,7 +62,7 @@ interface Resources { fun toList(): List<ResourceType> = quantities.flatMap { (type, quantity) -> List(quantity) { type } } } -internal data class MutableResources( +data class MutableResources( override val quantities: MutableMap<ResourceType, Int> = mutableMapOf() ) : Resources { |