ResetShoe() public method

public ResetShoe ( Game game ) : void
game Game
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);
        }
Example #2
0
 public override void ResetShoe(Game game)
 {
     primary.ResetShoe(game);
     secondary.ResetShoe(game);
 }