Some minor rework.

This commit is contained in:
LevelX2 2014-12-29 16:32:50 +01:00
parent cd387234cf
commit 3940cd4b95
23 changed files with 131 additions and 275 deletions

View file

@ -31,6 +31,7 @@ package mage.filter.common;
import mage.constants.CardType;
import mage.filter.FilterPermanent;
import mage.filter.predicate.mageobject.CardTypePredicate;
import mage.filter.predicate.mageobject.SubtypePredicate;
/**
*
@ -47,6 +48,12 @@ public class FilterLandPermanent extends FilterPermanent {
this.add(new CardTypePredicate(CardType.LAND));
}
public FilterLandPermanent(String subtype, String name) {
super(name);
this.add(new CardTypePredicate(CardType.LAND));
this.add(new SubtypePredicate(subtype));
}
public FilterLandPermanent(final FilterLandPermanent filter) {
super(filter);
}