create GameCommandRunner to extract business logic

This commit is contained in:
2025-03-11 21:59:17 +01:00
parent a2756d7fdb
commit 28075feff2
9 changed files with 80 additions and 37 deletions

View File

@@ -1,6 +1,7 @@
package eventDemo.configuration
import eventDemo.app.command.GameCommandHandler
import eventDemo.app.command.GameCommandRunner
import eventDemo.app.command.command.GameCommand
import eventDemo.app.event.GameEventBus
import eventDemo.app.event.GameEventHandler
@@ -40,6 +41,7 @@ val appKoinModule =
}
singleOf(::GameEventHandler)
singleOf(::GameCommandRunner)
singleOf(::GameCommandHandler)
singleOf(::PlayerNotificationEventListener)
}