Package mage.filter.common

Examples of mage.filter.common.FilterCreatureOrPlayer


  protected FilterCreatureOrPlayer filter;

  public TargetCreatureOrPlayerAmount(int amount) {
    super(amount);
    this.zone = Zone.ALL;
    this.filter = new FilterCreatureOrPlayer();
    this.targetName = filter.getMessage();
  }
View Full Code Here


  public TargetCreatureOrPlayer(int minNumTargets, int maxNumTargets) {
    this.minNumberOfTargets = minNumTargets;
    this.maxNumberOfTargets = maxNumTargets;
    this.zone = Zone.ALL;
    this.filter = new FilterCreatureOrPlayer();
    this.targetName = filter.getMessage();
  }
View Full Code Here

        super(effect);
        this.filter = effect.filter.copy();
    }

    private static FilterInPlay createFilter(FilterCreaturePermanent filter) {
        FilterCreatureOrPlayer newfilter = new FilterCreatureOrPlayer(filter.getMessage());
        newfilter.setCreatureFilter(filter);
        newfilter.getPlayerFilter().add(new PlayerIdPredicate(UUID.randomUUID()));
        return newfilter;
    }
View Full Code Here

    public TargetCreatureOrPlayer(int minNumTargets, int maxNumTargets) {
        this.minNumberOfTargets = minNumTargets;
        this.maxNumberOfTargets = maxNumTargets;
        this.zone = Zone.ALL;
        this.filter = new FilterCreatureOrPlayer();
        this.targetName = filter.getMessage();
    }
View Full Code Here

    }

    public TargetCreatureOrPlayerAmount(DynamicValue amount) {
        super(amount);
        this.zone = Zone.ALL;
        this.filter = new FilterCreatureOrPlayer();
        this.targetName = filter.getMessage();
    }
View Full Code Here

TOP

Related Classes of mage.filter.common.FilterCreatureOrPlayer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.