mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 21:42:07 -08:00
[KHC] Implemented Lathril, Blade of the Elves
This commit is contained in:
parent
7eff63d68e
commit
747c1c096c
3 changed files with 114 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
package mage.filter.predicate.permanent;
|
||||
|
||||
import mage.filter.predicate.Predicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public enum UntappedPredicate implements Predicate<Permanent> {
|
||||
instance;
|
||||
|
||||
@Override
|
||||
public boolean apply(Permanent input, Game game) {
|
||||
return !input.isTapped();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Untapped";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue