Shuffle() public method

public Shuffle ( Random rand ) : void
rand System.Random
return void
Example #1
0
        public void ResetShoe()
        {
            shoe.Clear();

            int decks = rules.Decks;

            for (int i = 0; i < decks; i++)
            {
                shoe.Add(CardsFactory.StandardDeck);
            }

            shoe.Shuffle(random);

            agent.ResetShoe(this);
        }