Package mage.game.turn

Examples of mage.game.turn.DrawStep


      game.getState().setActivePlayerId(game.getState().getPlayerList(game.getActivePlayerId()).getNext());
      game.getTurn().setPhase(new BeginningPhase());
      if (game.getPhase().beginPhase(game, game.getActivePlayerId())) {
        simulateStep(game, new UntapStep());
        simulateStep(game, new UpkeepStep());
        simulateStep(game, new DrawStep());
        game.getPhase().endPhase(game, game.getActivePlayerId());
      }
      val = simulateCombat(game, node, depth-1, alpha, beta, true);
      if (logger.isLoggable(Level.FINE))
        logger.fine("returning -- counter attack score: " + val + " depth:" + depth + " for player:" + game.getPlayer(node.getPlayerId()).getName());
View Full Code Here


      switch (currentPhase.getStep().getType()) {
        case UNTAP:
          game.getPhase().setStep(new UpkeepStep());
          break;
        case UPKEEP:
          game.getPhase().setStep(new DrawStep());
          break;
        case DRAW:
          game.getTurn().setPhase(new PreCombatMainPhase());
          game.getPhase().setStep(new PreCombatMainStep());
          break;
View Full Code Here

TOP

Related Classes of mage.game.turn.DrawStep

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.