forked from External/mage
[DFT] Implement Rangers' Aetherhive
This commit is contained in:
parent
462a4a0b2d
commit
6670ceb2ae
5 changed files with 80 additions and 26 deletions
|
|
@ -0,0 +1,18 @@
|
|||
package mage.filter.predicate.other;
|
||||
|
||||
import mage.abilities.keyword.ExhaustAbility;
|
||||
import mage.filter.predicate.Predicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.stack.StackObject;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public enum ExhaustAbilityPredicate implements Predicate<StackObject> {
|
||||
instance;
|
||||
|
||||
@Override
|
||||
public boolean apply(StackObject input, Game game) {
|
||||
return input.getStackAbility() instanceof ExhaustAbility;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue