forked from External/mage
30 lines
930 B
Java
30 lines
930 B
Java
package mage.target.common;
|
|
|
|
import mage.filter.FilterPermanent;
|
|
import mage.filter.common.FilterCreatureOrPlaneswalkerPermanent;
|
|
|
|
/**
|
|
* @author BetaSteward_at_googlemail.com
|
|
*/
|
|
public class TargetCreatureOrPlaneswalkerAmount extends TargetPermanentAmount {
|
|
|
|
private static final FilterCreatureOrPlaneswalkerPermanent defaultFilter
|
|
= new FilterCreatureOrPlaneswalkerPermanent("target creatures and/or planeswalkers");
|
|
|
|
public TargetCreatureOrPlaneswalkerAmount(int amount) {
|
|
super(amount, defaultFilter);
|
|
}
|
|
|
|
public TargetCreatureOrPlaneswalkerAmount(int amount, FilterPermanent filter) {
|
|
super(amount, filter);
|
|
}
|
|
|
|
private TargetCreatureOrPlaneswalkerAmount(final TargetCreatureOrPlaneswalkerAmount target) {
|
|
super(target);
|
|
}
|
|
|
|
@Override
|
|
public TargetCreatureOrPlaneswalkerAmount copy() {
|
|
return new TargetCreatureOrPlaneswalkerAmount(this);
|
|
}
|
|
}
|