From 07295f3e96a16efc517e5a5e6ae0af4e3d5c5035 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Fri, 15 May 2020 03:05:09 +0200 Subject: Add dumb bots feature --- .../org/luxons/sevenwonders/model/api/actions/Actions.kt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'sw-common-model') 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 +) -- cgit