mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
refactored ColorlessPredicate to singleton enum
This commit is contained in:
parent
e6b99215e1
commit
dc409c9a9e
38 changed files with 41 additions and 41 deletions
|
|
@ -6,10 +6,10 @@ import mage.filter.predicate.Predicate;
|
|||
import mage.game.Game;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
*/
|
||||
public class ColorlessPredicate implements Predicate<MageObject> {
|
||||
public enum ColorlessPredicate implements Predicate<MageObject> {
|
||||
instance;
|
||||
|
||||
@Override
|
||||
public boolean apply(MageObject input, Game game) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue