rename GameCommandRunner to GameCommandActionRunner

This commit is contained in:
2025-03-14 22:53:52 +01:00
parent 7d06babdeb
commit a2f93d4edd
3 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ import eventDemo.app.event.projection.GameStateRepository
import eventDemo.app.notification.Notification import eventDemo.app.notification.Notification
import kotlinx.coroutines.channels.SendChannel import kotlinx.coroutines.channels.SendChannel
class GameCommandRunner( class GameCommandActionRunner(
private val eventHandler: GameEventHandler, private val eventHandler: GameEventHandler,
private val gameStateRepository: GameStateRepository, private val gameStateRepository: GameStateRepository,
) { ) {

View File

@@ -16,7 +16,7 @@ import kotlinx.coroutines.channels.SendChannel
*/ */
class GameCommandHandler( class GameCommandHandler(
private val commandStreamChannel: CommandStreamChannelBuilder<GameCommand>, private val commandStreamChannel: CommandStreamChannelBuilder<GameCommand>,
private val runner: GameCommandRunner, private val runner: GameCommandActionRunner,
) { ) {
private val logger = KotlinLogging.logger { } private val logger = KotlinLogging.logger { }

View File

@@ -1,7 +1,7 @@
package eventDemo.configuration package eventDemo.configuration
import eventDemo.app.command.GameCommandActionRunner
import eventDemo.app.command.GameCommandHandler import eventDemo.app.command.GameCommandHandler
import eventDemo.app.command.GameCommandRunner
import eventDemo.app.command.command.GameCommand import eventDemo.app.command.command.GameCommand
import eventDemo.app.event.GameEventBus import eventDemo.app.event.GameEventBus
import eventDemo.app.event.GameEventHandler import eventDemo.app.event.GameEventHandler
@@ -46,7 +46,7 @@ val appKoinModule =
singleOf(::VersionBuilderLocal) bind VersionBuilder::class singleOf(::VersionBuilderLocal) bind VersionBuilder::class
singleOf(::GameEventHandler) singleOf(::GameEventHandler)
singleOf(::GameCommandRunner) singleOf(::GameCommandActionRunner)
singleOf(::GameCommandHandler) singleOf(::GameCommandHandler)
singleOf(::PlayerNotificationEventListener) singleOf(::PlayerNotificationEventListener)
} }