Removing unneccessary field.

This commit is contained in:
marcins78@gmail.com
2011-09-05 21:07:39 +00:00
parent 3f7a8a48c8
commit 0ab4cad46f
2 changed files with 6 additions and 5 deletions

View File

@@ -11,19 +11,20 @@ import com.gempukku.lotro.logic.timing.ActionStack;
import com.gempukku.lotro.logic.timing.Effect;
import com.gempukku.lotro.logic.timing.EffectResult;
import java.util.*;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
public class DefaultActionsEnvironment implements ActionsEnvironment {
private LotroGame _lotroGame;
private Set<String> _participants;
private ActionStack _actionStack;
private List<ActionProxy> _actionProxies = new LinkedList<ActionProxy>();
private Map<Phase, List<ActionProxy>> _untilStartOfPhaseActionProxies = new HashMap<Phase, List<ActionProxy>>();
private Map<Phase, List<ActionProxy>> _untilEndOfPhaseActionProxies = new HashMap<Phase, List<ActionProxy>>();
public DefaultActionsEnvironment(LotroGame lotroGame, Set<String> participants, ActionStack actionStack) {
public DefaultActionsEnvironment(LotroGame lotroGame, ActionStack actionStack) {
_lotroGame = lotroGame;
_participants = participants;
_actionStack = actionStack;
}

View File

@@ -30,7 +30,7 @@ public class DefaultLotroGame implements LotroGame {
_gameResultListener = gameResultListener;
_actionStack = new ActionStack();
_actionsEnvironment = new DefaultActionsEnvironment(this, decks.keySet(), _actionStack);
_actionsEnvironment = new DefaultActionsEnvironment(this, _actionStack);
final Map<String, List<String>> cards = new HashMap<String, List<String>>();
for (String playerId : decks.keySet()) {