summaryrefslogtreecommitdiff
path: root/sw-common-model/src/commonMain
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-03-23 21:41:44 +0100
committerJoffrey Bion <joffrey.bion@booking.com>2020-03-23 21:41:44 +0100
commit2b62a334d6e8951d6b0f6bb5d32ac0df3c9e7e70 (patch)
tree874f7f4c418f9b5d0f805ff2fca52e30985f41d2 /sw-common-model/src/commonMain
parentInsignificant cleanup (diff)
downloadseven-wonders-2b62a334d6e8951d6b0f6bb5d32ac0df3c9e7e70.tar.gz
seven-wonders-2b62a334d6e8951d6b0f6bb5d32ac0df3c9e7e70.tar.bz2
seven-wonders-2b62a334d6e8951d6b0f6bb5d32ac0df3c9e7e70.zip
Add whether game can be started in LobbyDTO
Diffstat (limited to 'sw-common-model/src/commonMain')
-rw-r--r--sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/Api.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/Api.kt b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/Api.kt
index c691a89d..503141c4 100644
--- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/Api.kt
+++ b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/Api.kt
@@ -14,7 +14,8 @@ data class LobbyDTO(
val name: String,
val owner: String,
val players: List<PlayerDTO>,
- val state: State
+ val state: State,
+ val canBeStarted: Boolean
)
@Serializable
bgstack15