reorder methods in MagicTargetFilter

master
melvin 2012-10-21 12:17:38 +08:00
parent 7cd96c39bf
commit 774babed7e
1 changed files with 3 additions and 3 deletions

View File

@ -253,14 +253,14 @@ abstract class MagicPlayerFilterImpl implements MagicTargetFilter<MagicPlayer> {
public interface MagicTargetFilter<T extends MagicTarget> {
boolean acceptType(final MagicTargetType targetType);
boolean accept(final MagicGame game,final MagicPlayer player,final T target);
boolean acceptType(final MagicTargetType targetType);
boolean isLegal(final MagicGame game, final MagicPlayer player, final MagicTarget target);
List<T> filter(final MagicGame game, final MagicPlayer player, final MagicTargetHint targetHint);
boolean isLegal(final MagicGame game, final MagicPlayer player, final MagicTarget target);
MagicPermanentFilterImpl NONE = new MagicPermanentFilterImpl() {
public boolean accept(final MagicGame game,final MagicPlayer player,final MagicPermanent target) {
return false;