Search in sources :

Example 1 with Forest

use of mage.cards.basiclands.Forest in project mage by magefree.

the class MulliganTestBase method generateDeck.

public static Deck generateDeck(UUID playerId, int count) {
    Deck deck = new Deck();
    Stream.generate(() -> new Forest(playerId, new CardSetInfo("Forest", "TEST", "1", LAND))).limit(count).forEach(deck.getCards()::add);
    return deck;
}
Also used : CardSetInfo(mage.cards.CardSetInfo) Deck(mage.cards.decks.Deck) Forest(mage.cards.basiclands.Forest)

Aggregations

CardSetInfo (mage.cards.CardSetInfo)1 Forest (mage.cards.basiclands.Forest)1 Deck (mage.cards.decks.Deck)1