forked from External/mage
35 lines
731 B
Java
35 lines
731 B
Java
|
|
package mage.abilities.keyword;
|
|
|
|
import mage.constants.SubType;
|
|
import mage.filter.common.FilterLandPermanent;
|
|
|
|
/**
|
|
*
|
|
* @author BetaSteward_at_googlemail.com
|
|
*/
|
|
public class SwampwalkAbility extends LandwalkAbility {
|
|
|
|
private static final FilterLandPermanent filter = new FilterLandPermanent("swamp");
|
|
|
|
static {
|
|
filter.add(SubType.SWAMP.getPredicate());
|
|
}
|
|
|
|
public SwampwalkAbility() {
|
|
this(true);
|
|
}
|
|
|
|
public SwampwalkAbility(boolean withHintText) {
|
|
super(filter, withHintText);
|
|
}
|
|
|
|
public SwampwalkAbility(final SwampwalkAbility ability) {
|
|
super(ability);
|
|
}
|
|
|
|
@Override
|
|
public SwampwalkAbility copy() {
|
|
return new SwampwalkAbility(this);
|
|
}
|
|
}
|