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

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