mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
Added test (failing because bug not fixed yet). Some minor changes.
This commit is contained in:
parent
9dde5c2810
commit
fb819f1f51
4 changed files with 96 additions and 10 deletions
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package mage.filter.predicate.permanent;
|
||||
|
||||
import mage.filter.predicate.Predicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public class SummoningSicknessPredicate implements Predicate<Permanent> {
|
||||
|
||||
@Override
|
||||
public boolean apply(Permanent input, Game game) {
|
||||
return input.hasSummoningSickness();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Summoning sickness";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue