forked from External/mage
[LTR] Implement Dunedain Rangers
This commit is contained in:
parent
145440ccb1
commit
972d8fb324
3 changed files with 78 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
package mage.filter.predicate.permanent;
|
||||
|
||||
import mage.filter.predicate.Predicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public enum RingBearerPredicate implements Predicate<Permanent> {
|
||||
instance;
|
||||
|
||||
@Override
|
||||
public boolean apply(Permanent input, Game game) {
|
||||
return input.isRingBearer(game);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue