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; } }
public HandUpdateRecord(int frameCount, Point3D position, int fingerCount, HandStage stage) { this.FrameCount = frameCount; this.Position = position; this.FingerCount = fingerCount; this.Stage = stage; }