Move GameStateRepository

This commit is contained in:
2025-03-17 20:18:13 +01:00
parent 1a96c68521
commit 8074881d57
17 changed files with 24 additions and 23 deletions

View File

@@ -3,7 +3,7 @@ package eventDemo.business.command.action
import eventDemo.business.command.CommandException
import eventDemo.business.command.command.ICantPlayCommand
import eventDemo.business.event.event.PlayerHavePassEvent
import eventDemo.business.event.projection.GameStateRepository
import eventDemo.business.event.projection.gameState.GameStateRepository
/**
* A command to perform an action to play a new card

View File

@@ -3,7 +3,7 @@ package eventDemo.business.command.action
import eventDemo.business.command.CommandException
import eventDemo.business.command.command.IWantToJoinTheGameCommand
import eventDemo.business.event.event.NewPlayerEvent
import eventDemo.business.event.projection.GameStateRepository
import eventDemo.business.event.projection.gameState.GameStateRepository
/**
* A command to perform an action to play a new card

View File

@@ -3,7 +3,7 @@ package eventDemo.business.command.action
import eventDemo.business.command.CommandException
import eventDemo.business.command.command.IWantToPlayCardCommand
import eventDemo.business.event.event.CardIsPlayedEvent
import eventDemo.business.event.projection.GameStateRepository
import eventDemo.business.event.projection.gameState.GameStateRepository
/**
* A command to perform an action to play a new card

View File

@@ -3,7 +3,7 @@ package eventDemo.business.command.action
import eventDemo.business.command.CommandException
import eventDemo.business.command.command.IamReadyToPlayCommand
import eventDemo.business.event.event.PlayerReadyEvent
import eventDemo.business.event.projection.GameStateRepository
import eventDemo.business.event.projection.gameState.GameStateRepository
/**
* A command to set as ready to play

View File

@@ -12,7 +12,7 @@ import eventDemo.business.event.event.PlayerChoseColorEvent
import eventDemo.business.event.event.PlayerHavePassEvent
import eventDemo.business.event.event.PlayerReadyEvent
import eventDemo.business.event.event.PlayerWinEvent
import eventDemo.business.event.projection.GameStateRepository
import eventDemo.business.event.projection.gameState.GameStateRepository
import eventDemo.business.notification.ItsTheTurnOfNotification
import eventDemo.business.notification.Notification
import eventDemo.business.notification.PlayerAsJoinTheGameNotification

View File

@@ -6,8 +6,8 @@ import eventDemo.business.event.event.GameEvent
import eventDemo.business.event.event.GameStartedEvent
import eventDemo.business.event.event.PlayerReadyEvent
import eventDemo.business.event.event.PlayerWinEvent
import eventDemo.business.event.projection.GameState
import eventDemo.business.event.projection.GameStateRepository
import eventDemo.business.event.projection.gameState.GameState
import eventDemo.business.event.projection.gameState.GameStateRepository
import io.github.oshai.kotlinlogging.KotlinLogging
import io.github.oshai.kotlinlogging.withLoggingContext
import java.util.concurrent.ConcurrentSkipListSet

View File

@@ -1,9 +1,10 @@
package eventDemo.business.event.projection
package eventDemo.business.event.projection.gameState
import eventDemo.business.entity.Card
import eventDemo.business.entity.Deck
import eventDemo.business.entity.GameId
import eventDemo.business.entity.Player
import eventDemo.business.event.projection.Projection
import kotlinx.serialization.Serializable
@Serializable

View File

@@ -1,4 +1,4 @@
package eventDemo.business.event.projection
package eventDemo.business.event.projection.gameState
import eventDemo.business.entity.Card
import eventDemo.business.event.event.CardIsPlayedEvent

View File

@@ -1,4 +1,4 @@
package eventDemo.business.event.projection
package eventDemo.business.event.projection.gameState
import eventDemo.business.entity.GameId
import eventDemo.business.event.event.GameEvent