From ab794ae09c8d8b8244dd4e1fe1cfd97199b67b1e Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Wed, 1 Jul 2020 02:01:33 +0200 Subject: Fix style --- .../luxons/sevenwonders/engine/data/definitions/DecksDefinition.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sw-engine/src/main/kotlin/org/luxons') diff --git a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/data/definitions/DecksDefinition.kt b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/data/definitions/DecksDefinition.kt index c4f8cdc7..e4dfb8fd 100644 --- a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/data/definitions/DecksDefinition.kt +++ b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/data/definitions/DecksDefinition.kt @@ -9,10 +9,7 @@ internal class DeckDefinition( val cards: List, val backImage: String ) { - fun create(nbPlayers: Int): List = cards.flatMap { it.create( - CardBack( - backImage - ), nbPlayers) } + fun create(nbPlayers: Int): List = cards.flatMap { it.create(CardBack(backImage), nbPlayers) } } internal class DecksDefinition( -- cgit