Package mage.filter.common

Examples of mage.filter.common.FilterCreatureForAttack


    return new Random().nextBoolean();
  }

  @Override
  public List<Permanent> getAvailableAttackers(Game game) {
    FilterCreatureForAttack attackFilter = new FilterCreatureForAttack();
    attackFilter.getControllerId().add(playerId);
    List<Permanent> attackers = game.getBattlefield().getAllActivePermanents(attackFilter);
    return attackers;
  }
View Full Code Here

TOP

Related Classes of mage.filter.common.FilterCreatureForAttack

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.