diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-15 03:05:09 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-15 03:29:28 +0200 |
commit | 07295f3e96a16efc517e5a5e6ae0af4e3d5c5035 (patch) | |
tree | 3d35ea3d249d6f1205700d73996f9d93b6582162 /sw-common-model/src/commonMain | |
parent | Send score at end of game (diff) | |
download | seven-wonders-07295f3e96a16efc517e5a5e6ae0af4e3d5c5035.tar.gz seven-wonders-07295f3e96a16efc517e5a5e6ae0af4e3d5c5035.tar.bz2 seven-wonders-07295f3e96a16efc517e5a5e6ae0af4e3d5c5035.zip |
Add dumb bots feature
Diffstat (limited to 'sw-common-model/src/commonMain')
-rw-r--r-- | sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/actions/Actions.kt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/actions/Actions.kt b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/actions/Actions.kt index 773e703f..a4467667 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/actions/Actions.kt +++ b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/actions/Actions.kt @@ -70,3 +70,14 @@ class UpdateSettingsAction( */ val settings: CustomizableSettings ) + +/** + * The action to add a bot to the game. Can only be called in the lobby by the owner of the game. + */ +@Serializable +class AddBotAction( + /** + * The display name for the bot to add. + */ + val botDisplayName: String +) |