forked from External/mage
* apply regex to change public copy constructors to protected * cleanup code using now protected constructors * fix manaBuilder weird casting of Mana into ConditionalMana
32 lines
759 B
Java
32 lines
759 B
Java
|
|
|
|
package mage.abilities.keyword;
|
|
|
|
import mage.abilities.costs.mana.ManaCosts;
|
|
import mage.constants.SubType;
|
|
import mage.filter.common.FilterLandCard;
|
|
|
|
/**
|
|
* @author Plopman
|
|
*/
|
|
public class IslandcyclingAbility extends CyclingAbility {
|
|
private static final FilterLandCard filter = new FilterLandCard("Island card");
|
|
private static final String text = "Islandcycling";
|
|
|
|
static {
|
|
filter.add(SubType.ISLAND.getPredicate());
|
|
}
|
|
|
|
public IslandcyclingAbility(ManaCosts costs) {
|
|
super(costs, filter, text);
|
|
}
|
|
|
|
protected IslandcyclingAbility(final IslandcyclingAbility ability) {
|
|
super(ability);
|
|
}
|
|
|
|
@Override
|
|
public IslandcyclingAbility copy() {
|
|
return new IslandcyclingAbility(this);
|
|
}
|
|
}
|