forked from External/mage
44 lines
1.3 KiB
Java
44 lines
1.3 KiB
Java
|
|
package mage.target.common;
|
|
|
|
import mage.filter.StaticFilters;
|
|
import static mage.filter.StaticFilters.FILTER_PERMANENT_CREATURE;
|
|
import mage.filter.common.FilterCreaturePermanent;
|
|
import mage.target.TargetPermanent;
|
|
|
|
/**
|
|
*
|
|
* @author BetaSteward_at_googlemail.com
|
|
*/
|
|
public class TargetCreaturePermanent extends TargetPermanent {
|
|
|
|
public TargetCreaturePermanent() {
|
|
this(1, 1, FILTER_PERMANENT_CREATURE, false);
|
|
}
|
|
|
|
public TargetCreaturePermanent(FilterCreaturePermanent filter) {
|
|
this(1, 1, filter, false);
|
|
}
|
|
|
|
public TargetCreaturePermanent(int numTargets) {
|
|
this(numTargets, numTargets, StaticFilters.FILTER_PERMANENT_CREATURE, false);
|
|
}
|
|
|
|
public TargetCreaturePermanent(int minNumTargets, int maxNumTargets) {
|
|
this(minNumTargets, maxNumTargets, StaticFilters.FILTER_PERMANENT_CREATURE, false);
|
|
}
|
|
|
|
public TargetCreaturePermanent(int minNumTargets, int maxNumTargets, FilterCreaturePermanent filter, boolean notTarget) {
|
|
super(minNumTargets, maxNumTargets, filter, notTarget);
|
|
}
|
|
|
|
public TargetCreaturePermanent(final TargetCreaturePermanent target) {
|
|
super(target);
|
|
}
|
|
|
|
@Override
|
|
public TargetCreaturePermanent copy() {
|
|
return new TargetCreaturePermanent(this);
|
|
}
|
|
|
|
}
|