Package mage.filter.predicate.other

Examples of mage.filter.predicate.other.ExpansionSetPredicate


            if (this.cbExpansionSet.isVisible()) {
                String expansionSelection = this.cbExpansionSet.getSelectedItem().toString();
                if (!expansionSelection.equals("- All Sets")) {
                    ArrayList<Predicate<Card>> expansionPredicates = new ArrayList<>();
                    for (String setCode : ConstructedFormats.getSetsByFormat(expansionSelection)) {
                        expansionPredicates.add(new ExpansionSetPredicate(setCode));
                    }
                    filter.add(Predicates.or(expansionPredicates));
                }
            }
        }
View Full Code Here

TOP

Related Classes of mage.filter.predicate.other.ExpansionSetPredicate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.