forked from External/mage
change HashMap to EnumMap
This commit is contained in:
parent
cc2871a356
commit
799fe34b02
2 changed files with 15 additions and 15 deletions
|
|
@ -181,7 +181,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
/**
|
||||
* During some steps we can't play anything
|
||||
*/
|
||||
protected final Map<PhaseStep, Step.StepPart> silentPhaseSteps = new HashMap<PhaseStep, Step.StepPart>() {
|
||||
protected final Map<PhaseStep, Step.StepPart> silentPhaseSteps = new EnumMap<PhaseStep, Step.StepPart>(PhaseStep.class) {
|
||||
{
|
||||
put(PhaseStep.DECLARE_ATTACKERS, Step.StepPart.PRE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue