This commit is contained in:
marcins78@gmail.com
2011-09-12 12:25:50 +00:00
parent 902148d5b3
commit 2b101d9b8c
3 changed files with 8 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
package com.gempukku.lotro.common;
public enum Phase {
GAME_SETUP, FELLOWSHIP, SHADOW, MANEUVER, ARCHERY, ASSIGNMENT, SKIRMISH, REGROUP
GAME_SETUP, FELLOWSHIP, SHADOW, MANEUVER, ARCHERY, ASSIGNMENT, SKIRMISH, REGROUP, BETWEEN_TURNS
}

View File

@@ -75,6 +75,11 @@ public class TurnProcedure {
_effect = effect;
}
@Override
public String getText() {
return _effect.getText();
}
@Override
public Effect nextEffect() {
if (_effect.isCancelled())

View File

@@ -1,5 +1,6 @@
package com.gempukku.lotro.logic.timing.processes.turn;
import com.gempukku.lotro.common.Phase;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.effects.TriggeringEffect;
import com.gempukku.lotro.logic.timing.actions.SimpleEffectAction;
@@ -17,6 +18,7 @@ public class EndOfTurnGameProcess implements GameProcess {
public void process() {
_game.getActionsEnvironment().addActionToStack(new SimpleEffectAction(new TriggeringEffect(new EndOfTurnResult()), "End of turn"));
_game.getGameState().stopAffectingCardsForCurrentPlayer();
_game.getGameState().setCurrentPhase(Phase.BETWEEN_TURNS);
}
@Override