remove unused class

closes #12512
This commit is contained in:
xenohedron 2024-10-26 20:10:05 -04:00
parent 2969ba58be
commit 83fdee7ec9

View file

@ -1,27 +0,0 @@
package mage.abilities.condition.common;
import mage.filter.predicate.Predicate;
import mage.game.Game;
import mage.game.permanent.Permanent;
// @author jeffwadsworth
public class SourceHasAnyCountersCondition implements Predicate<Permanent> {
final int count;
public SourceHasAnyCountersCondition(int count) {
this.count = count;
}
@Override
public boolean apply(Permanent input, Game game) {
return input.getCounters(game).values().stream().anyMatch(counter -> counter.getCount() >= count);
}
@Override
public String toString() {
return "any counter";
}
}