public override void StartRoundExtract(IStartRoundContext context)
 {
     if (this.IndicatorByStreets.ContainsKey(context.RoundType))
     {
         this.IndicatorByStreets[context.RoundType].StartRoundExtract(context);
     }
 }
        public override void StartRound(IStartRoundContext context)
        {
            this.CommunityCards = context.CommunityCards;
            this.UpdateCommonRow(context.CurrentPot);

            ConsoleHelper.WriteOnConsole(this.row + 1, this.width - 11, context.RoundType + "   ");
            base.StartRound(context);
        }
示例#3
0
        public override void StartRound(IStartRoundContext context)
        {
            this.BoardCards = context.BoardCards;
            this.UpdateCommonRow(context.CurrentPot);

            ConsoleConfig.WriteOnConsole(this.row + 1, this.width / 2 - 5, context.RoundType + "   ");
            base.StartRound(context);
        }
示例#4
0
        public void StartRound(IStartRoundContext context)
        {
            this.player.StartRound(context);

            foreach (var item in this.indicators)
            {
                item.StartRoundExtract(context);
            }
        }
示例#5
0
        public override void StartRound(IStartRoundContext context)
        {
            this.CommunityCards = context.CommunityCards;
            this.UpdateCommonRows(
                context.CurrentPot,
                context.CurrentMainPot.AmountOfMoney,
                context.CurrentSidePots.Select(s => s.AmountOfMoney));

            ConsoleHelper.WriteOnConsole(this.row + 1, this.width - 11, context.RoundType + "   ");
            ConsoleHelper.WriteOnConsole(this.row + 3, 2, new string(' ', this.width - 3));
            base.StartRound(context);
        }
示例#6
0
 public override void StartRound(IStartRoundContext context)
 {
     this.PlayerMoney.NewRound();
     base.StartRound(context);
 }
示例#7
0
文件: APlayer.cs 项目: aneopsy/Powker
 public virtual void StartRound(IStartRoundContext context)
 {
     this.BoardCards = context.BoardCards;
 }
 public virtual void StartRoundExtract(IStartRoundContext context)
 {
 }
示例#9
0
 public virtual void StartRound(IStartRoundContext context)
 {
     this.Player.StartRound(context);
 }
示例#10
0
        public override void StartRound(IStartRoundContext context)
        {
            base.StartRound(context);

            this.communityCards = new CardAdapter(context.CommunityCards.ToList());
        }
示例#11
0
 public virtual void StartRound(IStartRoundContext context)
 {
     this.CommunityCards = context.CommunityCards;
 }
 public override void StartRoundExtract(IStartRoundContext context)
 {
     this.IndicatorByPositions[this.CurrentPosition.Value].StartRoundExtract(context);
 }