summaryrefslogtreecommitdiff
path: root/sw-server
diff options
context:
space:
mode:
Diffstat (limited to 'sw-server')
-rw-r--r--sw-server/src/main/kotlin/org/luxons/sevenwonders/controllers/GameController.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw-server/src/main/kotlin/org/luxons/sevenwonders/controllers/GameController.kt b/sw-server/src/main/kotlin/org/luxons/sevenwonders/controllers/GameController.kt
index b37c9c7c..cd9cb732 100644
--- a/sw-server/src/main/kotlin/org/luxons/sevenwonders/controllers/GameController.kt
+++ b/sw-server/src/main/kotlin/org/luxons/sevenwonders/controllers/GameController.kt
@@ -5,7 +5,7 @@ import org.luxons.sevenwonders.actions.PrepareMoveAction
import org.luxons.sevenwonders.api.PlayerDTO
import org.luxons.sevenwonders.api.toDTO
import org.luxons.sevenwonders.game.Game
-import org.luxons.sevenwonders.game.api.Table
+import org.luxons.sevenwonders.game.api.ApiTable
import org.luxons.sevenwonders.game.cards.CardBack
import org.luxons.sevenwonders.lobby.Player
import org.luxons.sevenwonders.repositories.PlayerRepository
@@ -88,7 +88,7 @@ class GameController @Autowired constructor(
}
}
- private fun sendPlayedMoves(gameId: Long, table: Table) =
+ private fun sendPlayedMoves(gameId: Long, table: ApiTable) =
template.convertAndSend("/topic/game/$gameId/tableUpdates", table)
private fun sendPreparedCard(gameId: Long, preparedCard: PreparedCard) =
bgstack15