Examples of EndPhase


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

Examples of mage.game.turn.EndPhase

        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

Examples of mage.game.turn.EndPhase

            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
Copyright © 2018 www.massapi.com. 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.