CardsLibrary.Deck.cut C# (CSharp) Method

cut() public method

Método responsável por cortar o baralho na posição definida.
public cut ( int position ) : void
position int
return void
        public void cut(int position)
        {
            if (position < 52)
            {
                while (position-- > 0)
                    _stack.Add(this.getFistCard());
            }
        }