From 036fc87fa4759dca994964ede7732ffa9f6dd4a3 Mon Sep 17 00:00:00 2001 From: jbion Date: Mon, 20 May 2019 11:46:01 +0200 Subject: Move some declarations to a better place --- .../main/kotlin/org/luxons/sevenwonders/controllers/GameController.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw-server/src/main/kotlin/org/luxons') 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) = -- cgit