Shuffle() public method

public Shuffle ( Random rand ) : void
rand System.Random
return void
コード例 #1
0
ファイル: Game.cs プロジェクト: Luffles/Botting-Library
        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);
        }