Changing texts for playing phase actions.
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
package com.gempukku.lotro.common;
|
||||
|
||||
public enum Phase {
|
||||
PUT_RING_BEARER, PLAY_STARTING_FELLOWSHIP, FELLOWSHIP, SHADOW, MANEUVER, ARCHERY, ASSIGNMENT, SKIRMISH, REGROUP, BETWEEN_TURNS
|
||||
PUT_RING_BEARER(null), PLAY_STARTING_FELLOWSHIP(null), FELLOWSHIP("Fellowship"), SHADOW("Shadow"), MANEUVER("Maneuver"), ARCHERY("Archery"), ASSIGNMENT("Assignment"), SKIRMISH("Skirmish"), REGROUP("Regroup"), BETWEEN_TURNS(null);
|
||||
|
||||
private String _humanReadable;
|
||||
|
||||
private Phase(String humanReadable) {
|
||||
_humanReadable = humanReadable;
|
||||
}
|
||||
|
||||
public String getHumanReadable() {
|
||||
return _humanReadable;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ public class PlayerPlaysPhaseActionsUntilPassesGameProcess implements GameProces
|
||||
final List<Action> playableActions = game.getActionsEnvironment().getPhaseActions(_playerId);
|
||||
|
||||
game.getUserFeedback().sendAwaitingDecision(_playerId,
|
||||
new CardActionSelectionDecision(game, 1, "Choose action to play or Pass", playableActions) {
|
||||
new CardActionSelectionDecision(game, 1, "Play " + game.getGameState().getCurrentPhase().getHumanReadable() + " action or Pass", playableActions) {
|
||||
@Override
|
||||
public void decisionMade(String result) throws DecisionResultInvalidException {
|
||||
Action action = getSelectedAction(result);
|
||||
|
||||
@@ -44,7 +44,7 @@ public class PlayersPlayPhaseActionsInOrderGameProcess implements GameProcess {
|
||||
final List<Action> playableActions = game.getActionsEnvironment().getPhaseActions(playerId);
|
||||
|
||||
game.getUserFeedback().sendAwaitingDecision(playerId,
|
||||
new CardActionSelectionDecision(game, 1, "Choose action to play or Pass", playableActions) {
|
||||
new CardActionSelectionDecision(game, 1, "Play " + game.getGameState().getCurrentPhase().getHumanReadable() + " action or Pass", playableActions) {
|
||||
@Override
|
||||
public void decisionMade(String result) throws DecisionResultInvalidException {
|
||||
Action action = getSelectedAction(result);
|
||||
|
||||
Reference in New Issue
Block a user