summaryrefslogtreecommitdiff
path: root/game-engine
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2019-02-18 20:52:12 +0100
committerjbion <joffrey.bion@amadeus.com>2019-02-18 20:52:12 +0100
commit0654c44c0674a053df3e3343565d59abbb9ab74e (patch)
treeb1f9571c8d6e6049de98347de7217ea490ddeb89 /game-engine
parentSimplify game init API (diff)
downloadseven-wonders-0654c44c0674a053df3e3343565d59abbb9ab74e.tar.gz
seven-wonders-0654c44c0674a053df3e3343565d59abbb9ab74e.tar.bz2
seven-wonders-0654c44c0674a053df3e3343565d59abbb9ab74e.zip
Fix MutableResources visibility
Diffstat (limited to 'game-engine')
-rw-r--r--game-engine/src/main/kotlin/org/luxons/sevenwonders/game/resources/Resources.kt2
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 {
bgstack15