public CloseDeck(ITrickState trickState, IGameState gameState, IAnnounceProvider announceProvider, IPlayerActionValidator playerActionValidator) : base(trickState) { this.gameState = gameState; this.announceProvider = announceProvider; this.playerActionValidator = playerActionValidator; }
public AnnounceMarriage(ITrickState trickState, IDeckState deckState, IAnnounceProvider announceProvider, IPlayerActionValidator playerActionValidator) : base(trickState) { this.deckState = deckState; this.announceProvider = announceProvider; this.playerActionValidator = playerActionValidator; }
public AnnounceManager(IGameState gameState, ITrickState trickState, IAnnounceProvider announceProvider) : base(gameState, trickState) { this.gameState = gameState; this.trickState = trickState; this.announceProvider = announceProvider; }
public DeckNotClosedRoundWinner(IGameState gameState, IDeckState deckState, ITrickState trickState) : base(gameState) { this.gameState = gameState; this.deckState = deckState; this.trickState = trickState; }
public ChangeTrumpCardManager(IDeckState deckState, IGameState gameState, ITrickState trickState, IPlayerActionValidator playerActionValidator) : base(gameState, trickState) { this.deckState = deckState; this.gameState = gameState; this.playerActionValidator = playerActionValidator; }
public PlayCardManager(IDeckState deckState, IGameState gameState, ITrickState trickState, IEnumerable <IPlayCardValidator> playCardValidators) : base(gameState, trickState) { this.deckState = deckState; this.gameState = gameState; this.trickState = trickState; this.playCardValidators = playCardValidators; }
public PlayDifferentCard(ITrickState trickState, IDeckState deckState) : base(trickState) { this.deckState = deckState; }
protected BasePlayLogic(ITrickState trickState) { this.trickState = trickState; }
public ChangeTrumpCard(ITrickState trickState, IDeckState deckState, IPlayerActionValidator playerActionValidator) : base(trickState) { this.deckState = deckState; this.playerActionValidator = playerActionValidator; }
public PlayTrumpCard(ITrickState trickState, IDeckState deckState) : base(trickState) { this.deckState = deckState; }
public PlayCard(ITrickState trickState, IDeckState deckState, IAnnounceProvider announceProvider) : base(trickState) { this.deckState = deckState; this.announceProvider = announceProvider; }
protected BasePlayerActionManager(IGameState gameState, ITrickState trickState) { this.gameState = gameState; this.trickState = trickState; }
public PlayHigherCard(ITrickState trickState) : base(trickState) { }
public PlayLowerCard(ITrickState trickState) : base(trickState) { }
public PlayerActionValidator(IDeckState deckState, ITrickState trickState) { this.deckState = deckState; this.trickState = trickState; }
public StatesManager(IGameState gameState, IDeckState deckState, ITrickState trickState) { this.gameState = gameState; this.deckState = deckState; this.trickState = trickState; }
protected BasePlayerActionStrategy(ITrickState trickState, IEnumerable <IPlayLogic> playLogics) { this.trickState = trickState; this.playLogics = playLogics; }
public TrickManager(IGameState gameState, ITrickState trickState, ITrickWinner trickWinner) { this.gameState = gameState; this.trickState = trickState; this.trickWinner = trickWinner; }
private PlayFirstFollowingSuitStrategy RegisterPlayFirstFollowingSuitStrategy(IDeckState deckState, ITrickState trickState, IEnumerable <IPlayLogic> playLogics) { List <Type> types = new List <Type>() { typeof(AnnounceMarriage), typeof(PlayCard) }; IEnumerable <IPlayLogic> strategyLogics = GetOrderedPlayLogics(types, playLogics); return(new PlayFirstFollowingSuitStrategy(deckState, trickState, strategyLogics)); }
public PlaySecondFollowingSuitStrategy(IDeckState deckState, ITrickState trickState, IEnumerable <IPlayLogic> playLogics) : base(trickState, playLogics) { this.deckState = deckState; this.trickState = trickState; }
private PlaySecondFollowingSuitStrategy RegisterPlaySecondFollowingSuitStrategy(IDeckState deckState, ITrickState trickState, IEnumerable <IPlayLogic> playLogics) { List <Type> types = new List <Type>() { typeof(PlayHigherCard), typeof(PlayLowerCard), typeof(PlayTrumpCard), typeof(PlayDifferentCard) }; IEnumerable <IPlayLogic> strategyLogics = GetOrderedPlayLogics(types, playLogics); return(new PlaySecondFollowingSuitStrategy(deckState, trickState, strategyLogics)); }