add IamReadyToPlayCommand & refactoring

This commit is contained in:
2025-04-14 23:39:31 +02:00
parent 06443d7efa
commit bc35131bfc
41 changed files with 404 additions and 322 deletions
@@ -1,6 +1,6 @@
package eventDemo.configuration
import eventDemo.app.GameEventReactionListener
import eventDemo.app.eventListener.GameEventReactionListener
import io.ktor.server.application.Application
import org.koin.ktor.ext.get
@@ -11,11 +11,11 @@ fun Application.configure() {
configureSerialization()
configureSockets()
configureWebSocketsGameRoute(get(), get())
configureWebSockets()
declareWebSocketsGameRoute(get(), get())
configureHttp()
configureHttpRouting()
declareHttpGameRoute()
GameEventReactionListener(get(), get())
.init()