コード例 #1
0
        public void SetFirstToAct(HandStage stage)
        {
            switch (stage)
            {
            case HandStage.Preflop:
                if (BigBlind == null)
                {
                    throw new InvalidOperationException("Blinds must be set first.");
                }
                CurrentActionOn = GetNextActivePlayerNode(BigBlind);
                break;

            default:
                CurrentActionOn = GetNextActivePlayerNode(Dealer);
                break;
            }
        }
コード例 #2
0
 public HandUpdateRecord(int frameCount, Point3D position, int fingerCount, HandStage stage)
 {
     this.FrameCount = frameCount;
     this.Position = position;
     this.FingerCount = fingerCount;
     this.Stage = stage;
 }