Package mage.interfaces.rate

Examples of mage.interfaces.rate.RateCallback


        final List<Card> spellCardPool = new ArrayList<>();
        final UUID owner = UUID.randomUUID();
        final List<ColoredManaSymbol> allowedColors = Arrays.asList(ColoredManaSymbol.U);
        final List<String> setsToUse = new ArrayList<>();
        final List<Card> landCardPool = null;
        final RateCallback rateCallback = new RateCallback() {
            @Override
            public int rateCard(Card card) {
                return 6;
            }
View Full Code Here


        // System.out.println("deck generator card pool: spells=" + spellCardPool.size() + ", lands=" + landCardPool.size());

        final List<String> setsToUseFinal = setsToUse;

        deck = DeckBuilder.buildDeck(spellCardPool, allowedColors, setsToUseFinal, landCardPool, deckSize, new RateCallback() {
            @Override
            public int rateCard(Card card) {
                return 6;
            }
View Full Code Here

TOP

Related Classes of mage.interfaces.rate.RateCallback

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.