diff options
Diffstat (limited to 'sw-client/src')
-rw-r--r-- | sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt index ea449a85..5476a890 100644 --- a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt +++ b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt @@ -129,4 +129,8 @@ class SevenWondersSession(private val stompSession: StompSessionWithKxSerializat serializer = PrepareMoveAction.serializer(), deserializer = PlayerMove.serializer() ) + + suspend fun unprepareMove() { + stompSession.sendEmptyMsg("/app/game/unprepareMove") + } } |