forked from External/mage
refactored TappedPredicate to use single enum for both conditions
This commit is contained in:
parent
59f02ad17a
commit
a673ebffc5
282 changed files with 307 additions and 513 deletions
|
|
@ -14,7 +14,6 @@ import mage.constants.Duration;
|
|||
import mage.constants.Outcome;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.permanent.TappedPredicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
|
|
@ -61,7 +60,7 @@ class CrewCost extends CostImpl {
|
|||
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("untapped creature you control");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.not(TappedPredicate.instance));
|
||||
filter.add(TappedPredicate.UNTAPPED);
|
||||
}
|
||||
|
||||
private final int value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue