コード例 #1
0
        public RegularPlayer(IUserCallbacksNotifications userCallbacksNotifications,
                             IBetCardsPlayerManager betCardsPlayerManager,
                             IRacingCardManager racingCardManager,
                             IPreConditionRaicingCards preConditionRaicingCards)
        {
            if (userCallbacksNotifications == null)
            {
                throw new ArgumentException(nameof(userCallbacksNotifications));
            }

            _userCallbacksNotifications = userCallbacksNotifications;
            _betCardsPlayerManager      = betCardsPlayerManager;
            _racingCardManager          = racingCardManager;
            _preConditionRaicingCards   = preConditionRaicingCards;
        }
コード例 #2
0
 public void SetNext(IPreConditionRaicingCards next)
 {
     _next = next;
 }
コード例 #3
0
 public PreConditionRaicingCards(IPreConditionRaicingCards nextCondition)
 {
     SetNext(nextCondition);
 }
 public PreConditionAllRacingCardsSameAnimal(IPreConditionRaicingCards next) : base(next)
 {
 }