merge(deck, pile = 'deck') {
		const { cards } = props.get(deck);
		
		cards.forEach((card) => {
			deck.remove(card);
			this.add(card, pile);
		});
	}
/**
	 * Merge the given Deck into this one, moving all cards belonging to the given Deck into this Deck.
	 *
	 * @param deck {Deck}
	 * @param pile {'deck'|'discard'|'pile'}
	 * @return void
	 */
Merge the given Deck into this one, moving all cards belonging to the given Deck into this Deck.
Merge the given Deck into this one moving all cards belonging to the given Deck into this Deck .
merge(deck, pile = 'deck') {
		const { cards } = props.get(deck);
		cards.forEach((card) => {
			deck.remove(card);
			this.add(card, pile);
		});
	}
merge ( deck , pile = 'deck' ) { const { cards } = props . get ( deck ) ; cards . forEach ( ( card ) => { deck . remove ( card ) ; this . add ( card , pile ) ; } ) ; }
Merge the given Deck into this one, moving all cards belonging to the given Deck into this Deck.
Merge the given Deck into this one moving all cards belonging to the given Deck into this Deck .