Implemented Cavalier of Thorns

This commit is contained in:
Evan Kranzler 2019-06-23 14:33:02 -04:00
parent 72839bcebf
commit 189aed29b5
4 changed files with 116 additions and 4 deletions

View file

@ -1,19 +1,19 @@
package mage.filter.predicate.permanent;
import mage.MageObject;
import mage.filter.predicate.ObjectSourcePlayer;
import mage.filter.predicate.ObjectSourcePlayerPredicate;
import mage.game.Game;
import mage.game.permanent.Permanent;
/**
* @author North
*/
public enum AnotherPredicate implements ObjectSourcePlayerPredicate<ObjectSourcePlayer<Permanent>> {
public enum AnotherPredicate implements ObjectSourcePlayerPredicate<ObjectSourcePlayer<MageObject>> {
instance;
@Override
public boolean apply(ObjectSourcePlayer<Permanent> input, Game game) {
public boolean apply(ObjectSourcePlayer<MageObject> input, Game game) {
return !input.getObject().getId().equals(input.getSourceId());
}