Exemple #1
0
        public static void CutRange_CheckBet(Range range, ActionType actionType, Street street, Board board, float betChance, DecisionMakingContext dmContext)
        {
            Unmanaged_Range unmanagedRange = new Unmanaged_Range(range);

            Unmanaged_Card[] cards = BoardToUnmanaged(board);

            CutRange_CheckBet(ref unmanagedRange, (int)actionType, (int)street, cards, betChance, dmContext.GC);
            unmanagedRange.ToManaged(range);
        }
Exemple #2
0
        public static void CutRange_FoldCallRaise(Range range, ActionType actionType, Street street, Board board, float raiseChance, float callChance, DecisionMakingContext dmContext)
        {
            Unmanaged_Range unmanagedRange = new Unmanaged_Range(range);

            Unmanaged_Card[] cards = BoardToUnmanaged(board);

            CutRange_FoldCallRaise(ref unmanagedRange, (int)actionType, (int)street, cards, raiseChance, callChance, dmContext.GC);
            unmanagedRange.ToManaged(range);
        }
Exemple #3
0
        public static void Range_GetSortedHoleCards(Range range, Street street, Board board, DecisionMakingContext dmContext)
        {
            Unmanaged_Range unmanagedRange = new Unmanaged_Range(range);

            Unmanaged_Card[] cards = BoardToUnmanaged(board);

            Range_GetSortedHoleCards(ref unmanagedRange, (int)street, cards, dmContext.GC);
            unmanagedRange.ToManaged(range);
        }