mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08:00
Some minor rework.
This commit is contained in:
parent
cd387234cf
commit
3940cd4b95
23 changed files with 131 additions and 275 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue