Clear() public method

public Clear ( ) : void
return void
Ejemplo n.º 1
0
 public void Reset()
 {
     doubled     = false;
     split       = false;
     stood       = false;
     surrendered = false;
     from_aces   = false;
     hit_count   = 0;
     cards.Clear();
 }
Ejemplo n.º 2
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);
        }