diff options
author | jbion <joffrey.bion@amadeus.com> | 2019-02-18 20:52:12 +0100 |
---|---|---|
committer | jbion <joffrey.bion@amadeus.com> | 2019-02-18 20:52:12 +0100 |
commit | 0654c44c0674a053df3e3343565d59abbb9ab74e (patch) | |
tree | b1f9571c8d6e6049de98347de7217ea490ddeb89 | |
parent | Simplify game init API (diff) | |
download | seven-wonders-0654c44c0674a053df3e3343565d59abbb9ab74e.tar.gz seven-wonders-0654c44c0674a053df3e3343565d59abbb9ab74e.tar.bz2 seven-wonders-0654c44c0674a053df3e3343565d59abbb9ab74e.zip |
Fix MutableResources visibility
-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 { |