Package mage.game.turn

Examples of mage.game.turn.EndPhase


      logger.fine("interrupted");
      return;
    }
    if (!game.isGameOver()) {
      game.getTurn().getPhase().endPhase(game, game.getActivePlayerId());
      game.getTurn().setPhase(new EndPhase());
      if (game.getTurn().getPhase().beginPhase(game, game.getActivePlayerId())) {
        simulateStep(game, new EndStep());
        simulateStep(game, new CleanupStep());
      }
    }
View Full Code Here


        case END_COMBAT:
          game.getTurn().setPhase(new PostCombatMainPhase());
          game.getPhase().setStep(new PostCombatMainStep());
          break;
        case POSTCOMBAT_MAIN:
          game.getTurn().setPhase(new EndPhase());
          game.getPhase().setStep(new EndStep());
          break;
        case END_TURN:
          game.getPhase().setStep(new CleanupStep());
          break;
View Full Code Here

            logger.debug("interrupted");
            return;
        }
        if (!game.gameOver(null)) {
            game.getTurn().getPhase().endPhase(game, game.getActivePlayerId());
            game.getTurn().setPhase(new EndPhase());
            if (game.getTurn().getPhase().beginPhase(game, game.getActivePlayerId())) {
                simulateStep(game, new EndStep());
                simulateStep(game, new CleanupStep());
            }
        }
View Full Code Here

TOP

Related Classes of mage.game.turn.EndPhase

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.