replaced StaticValue with singletons

This commit is contained in:
Evan Kranzler 2020-01-05 11:33:21 -05:00
parent 7f0d793544
commit 9a603fbaab
318 changed files with 440 additions and 435 deletions

View file

@ -87,8 +87,8 @@ public class LookLibraryAndPickControllerEffect extends LookLibraryControllerEff
public LookLibraryAndPickControllerEffect(int numberOfCards,
int numberToPick, FilterCard pickFilter, boolean upTo) {
this(new StaticValue(numberOfCards), false,
new StaticValue(numberToPick), pickFilter, Zone.LIBRARY, false,
this(StaticValue.get(numberOfCards), false,
StaticValue.get(numberToPick), pickFilter, Zone.LIBRARY, false,
true, upTo);
}
@ -104,8 +104,8 @@ public class LookLibraryAndPickControllerEffect extends LookLibraryControllerEff
public LookLibraryAndPickControllerEffect(int numberOfCards,
int numberToPick, FilterCard pickFilter, boolean reveal,
boolean upTo, Zone targetZonePickedCards, boolean optional) {
this(new StaticValue(numberOfCards), false,
new StaticValue(numberToPick), pickFilter, Zone.LIBRARY, false,
this(StaticValue.get(numberOfCards), false,
StaticValue.get(numberToPick), pickFilter, Zone.LIBRARY, false,
reveal, upTo, targetZonePickedCards, optional, true, true);
}