summaryrefslogtreecommitdiff
path: root/sw-engine
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-07-01 02:01:33 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-07-01 02:01:33 +0200
commitab794ae09c8d8b8244dd4e1fe1cfd97199b67b1e (patch)
tree68a4bbf2ec4fbe05a2038eb74fcb540c39decc5d /sw-engine
parentAdd buttons to randomly reassign wonders and reorder players (diff)
downloadseven-wonders-ab794ae09c8d8b8244dd4e1fe1cfd97199b67b1e.tar.gz
seven-wonders-ab794ae09c8d8b8244dd4e1fe1cfd97199b67b1e.tar.bz2
seven-wonders-ab794ae09c8d8b8244dd4e1fe1cfd97199b67b1e.zip
Fix style
Diffstat (limited to 'sw-engine')
-rw-r--r--sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/data/definitions/DecksDefinition.kt5
1 files changed, 1 insertions, 4 deletions
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<CardDefinition>,
val backImage: String
) {
- fun create(nbPlayers: Int): List<Card> = cards.flatMap { it.create(
- CardBack(
- backImage
- ), nbPlayers) }
+ fun create(nbPlayers: Int): List<Card> = cards.flatMap { it.create(CardBack(backImage), nbPlayers) }
}
internal class DecksDefinition(
bgstack15