set discard(newContents = []) {
        //  Move cards to the deck
        _.each(this.discard, card => {
            this.moveCard(card, 'deck');
        });
        // Move cards to the discard in reverse order
        // (helps with referring to cards by index)
        _.chain(newContents).reverse().each(name => {
            var card = this.findCardByName(name, 'deck');
            this.moveCard(card, 'discard');
        });
    }
/**
     * Sets the contents of the conflict discard pile
     * @param {String[]} newContents - list of names of cards to be put in conflict discard
     */
Sets the contents of the conflict discard pile
@param {String[]} newContents - list of names of cards to be put in conflict discard
Sets the contents of the conflict discard pile @param { String [] } newContents - list of names of cards to be put in conflict discard
set discard(newContents = []) {
        _.each(this.discard, card => {
            this.moveCard(card, 'deck');
        });
        _.chain(newContents).reverse().each(name => {
            var card = this.findCardByName(name, 'deck');
            this.moveCard(card, 'discard');
        });
    }
set discard ( newContents = [ ] ) { _ . each ( this . discard , card => { this . moveCard ( card , 'deck' ) ; } ) ; _ . chain ( newContents ) . reverse ( ) . each ( name => { var card = this . findCardByName ( name , 'deck' ) ; this . moveCard ( card , 'discard' ) ; } ) ; }
Sets the contents of the conflict discard pile
 @param {String[]} newContents - list of names of cards to be put in conflict discard
Sets the contents of the conflict discard pile @param { String [] } newContents - list of names of cards to be put in conflict discard
//  Move cards to the deck // Move cards to the discard in reverse order // (helps with referring to cards by index)