holdem_engine.HandEngine.DealHoleCards C# (CSharp) Method

DealHoleCards() public method

Deals out all of the players' hole cards.
public DealHoleCards ( ) : void
return void
        public void DealHoleCards()
        {
            for (int i = 0; i < _seats.Length; i++)
            {
                _history.HoleCards[i] = _cache != null ? _cache.HoleCards[i] : Hand.RandomHand(_history.DealtCards, 2);
                _history.DealtCards = _history.DealtCards | _history.HoleCards[i];
            }
        }