From 0654c44c0674a053df3e3343565d59abbb9ab74e Mon Sep 17 00:00:00 2001 From: jbion Date: Mon, 18 Feb 2019 20:52:12 +0100 Subject: Fix MutableResources visibility --- .../src/main/kotlin/org/luxons/sevenwonders/game/resources/Resources.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game-engine/src') 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 = quantities.flatMap { (type, quantity) -> List(quantity) { type } } } -internal data class MutableResources( +data class MutableResources( override val quantities: MutableMap = mutableMapOf() ) : Resources { -- cgit