simplified and condensed various effects which discard variable amounts of cards

This commit is contained in:
Evan Kranzler 2021-03-29 21:35:27 -04:00
parent 6c54dde7d2
commit 97af948932
15 changed files with 163 additions and 364 deletions

View file

@ -2841,6 +2841,11 @@ public class TestPlayer implements Player {
return computerPlayer.discard(amount, random, payForCost, source, game);
}
@Override
public Cards discard(int minAmount, int maxAmount, boolean payForCost, Ability source, Game game) {
return computerPlayer.discard(minAmount, maxAmount, payForCost, source, game);
}
@Override
public Cards discard(Cards cards, boolean payForCost, Ability source, Game game) {
return computerPlayer.discard(cards, payForCost, source, game);

View file

@ -664,6 +664,11 @@ public class PlayerStub implements Player {
return null;
}
@Override
public Cards discard(int minAmount, int maxAmount, boolean payForCost, Ability source, Game game) {
return null;
}
@Override
public void discardToMax(Game game) {