Package mage.game.turn

Examples of mage.game.turn.CombatPhase


      Thread.currentThread().interrupt();
      logger.fine("interrupted");
      return GameStateEvaluator.evaluate(playerId, game);
    }
    if (game.getTurn().getStepType() != PhaseStep.DECLARE_BLOCKERS) {
      game.getTurn().setPhase(new CombatPhase());
      if (game.getPhase().beginPhase(game, game.getActivePlayerId())) {
        simulateStep(game, new BeginCombatStep());
        game.getPhase().setStep(new DeclareAttackersStep());
        if (!game.getStep().skipStep(game, game.getActivePlayerId())) {
          game.fireEvent(new GameEvent(GameEvent.EventType.DECLARE_ATTACKERS_STEP_PRE, null, null, game.getActivePlayerId()));
View Full Code Here


        case DRAW:
          game.getTurn().setPhase(new PreCombatMainPhase());
          game.getPhase().setStep(new PreCombatMainStep());
          break;
        case PRECOMBAT_MAIN:
          game.getTurn().setPhase(new CombatPhase());
          game.getPhase().setStep(new BeginCombatStep());
          break;
        case BEGIN_COMBAT:
          game.getPhase().setStep(new DeclareAttackersStep());
          break;
View Full Code Here

            Thread.currentThread().interrupt();
            logger.debug("interrupted");
            return GameStateEvaluator2.evaluate(playerId, game);
        }
        if (game.getTurn().getStepType() != PhaseStep.DECLARE_BLOCKERS) {
            game.getTurn().setPhase(new CombatPhase());
            if (game.getPhase().beginPhase(game, game.getActivePlayerId())) {
                simulateStep(game, new BeginCombatStep());
                game.getPhase().setStep(new DeclareAttackersStep());
                if (!game.getStep().skipStep(game, game.getActivePlayerId())) {
                    game.fireEvent(new GameEvent(GameEvent.EventType.DECLARE_ATTACKERS_STEP_PRE, null, null, game.getActivePlayerId()));
View Full Code Here

TOP

Related Classes of mage.game.turn.CombatPhase

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.