Package mage.player.ai.simulators

Examples of mage.player.ai.simulators.CombatGroupSimulator


        if (binary.charAt(j) == '1')
          trialAttackers.add(attackersList.get(j));
      }
      CombatSimulator combat = new CombatSimulator();
      for (Permanent permanent: trialAttackers) {
        combat.groups.add(new CombatGroupSimulator(opponentId, Arrays.asList(permanent.getId()), new ArrayList<UUID>(), game));
      }
      CombatSimulator test = simulateBlock(combat, blockers, game);
      if (test.evaluate() > bestResult) {
        best = test;
        bestResult = test.evaluate();
View Full Code Here


                    trialAttackers.add(attackersList.get(j));
                }
            }
            CombatSimulator combat = new CombatSimulator();
            for (Permanent permanent: trialAttackers) {
                combat.groups.add(new CombatGroupSimulator(opponentId, Arrays.asList(permanent.getId()), new ArrayList<UUID>(), game));
            }
            CombatSimulator test = simulateBlock(combat, blockers, game);
            if (test.evaluate() > bestResult) {
                best = test;
                bestResult = test.evaluate();
View Full Code Here

TOP

Related Classes of mage.player.ai.simulators.CombatGroupSimulator

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.