Rename class GameCommandRouteWebSocket

This commit is contained in:
2025-03-16 01:47:05 +01:00
parent 804ccd785e
commit fb9a8e2384
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ import kotlinx.coroutines.channels.SendChannel
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
@DelicateCoroutinesApi @DelicateCoroutinesApi
fun Route.gameSocket( fun Route.gameWebSocket(
playerNotificationListener: PlayerNotificationEventListener, playerNotificationListener: PlayerNotificationEventListener,
commandHandler: GameCommandHandler, commandHandler: GameCommandHandler,
) { ) {

View File

@@ -1,7 +1,7 @@
package eventDemo.configuration package eventDemo.configuration
import eventDemo.app.command.GameCommandHandler import eventDemo.app.command.GameCommandHandler
import eventDemo.app.command.gameSocket import eventDemo.app.command.gameWebSocket
import eventDemo.app.eventListener.PlayerNotificationEventListener import eventDemo.app.eventListener.PlayerNotificationEventListener
import io.ktor.server.application.Application import io.ktor.server.application.Application
import io.ktor.server.routing.routing import io.ktor.server.routing.routing
@@ -13,6 +13,6 @@ fun Application.declareWebSocketsGameRoute(
commandHandler: GameCommandHandler, commandHandler: GameCommandHandler,
) { ) {
routing { routing {
gameSocket(playerNotificationListener, commandHandler) gameWebSocket(playerNotificationListener, commandHandler)
} }
} }