foul-magics/Mage/src/main/java/mage/abilities/keyword/IslandcyclingAbility.java
Susucre f75b1c9f0a
Code cleanup: protect all copy constructors (#10750)
* apply regex to change public copy constructors to protected
* cleanup code using now protected constructors
* fix manaBuilder weird casting of Mana into ConditionalMana
2023-08-04 19:34:58 -04:00

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);
}
}