Package mage.cards.repository

Examples of mage.cards.repository.CardCriteria.rarities()


    }

    @Override
    public List<CardInfo> getSpecialUncommon() {
        CardCriteria criteria = new CardCriteria();
        criteria.rarities(Rarity.UNCOMMON).setCodes(this.code);
        return CardRepository.instance.findCards(criteria);
    }

    @Override
    public List<CardInfo> getSpecialRare() {
View Full Code Here


    }

    @Override
    public List<CardInfo> getSpecialRare() {
        CardCriteria criteria = new CardCriteria();
        criteria.rarities(Rarity.RARE).setCodes(this.code);
        return CardRepository.instance.findCards(criteria);
    }

    @Override
    public List<CardInfo> getSpecialMythic() {
View Full Code Here

    }

    @Override
    public List<CardInfo> getSpecialMythic() {
        CardCriteria criteria = new CardCriteria();
        criteria.rarities(Rarity.MYTHIC).setCodes(this.code);
        return CardRepository.instance.findCards(criteria);
    }

    @Override
    public List<CardInfo> getSpecialBonus() {
View Full Code Here

    }

    @Override
    public List<CardInfo> getSpecialBonus() {
        CardCriteria criteria = new CardCriteria();
        criteria.rarities(Rarity.BONUS).setCodes(this.code);
        return CardRepository.instance.findCards(criteria);
    }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.