rewrote how coins are flipped

This commit is contained in:
Evan Kranzler 2019-01-15 15:56:40 -05:00
parent f5fffcf417
commit 535fe221e3
64 changed files with 157 additions and 86 deletions

View file

@ -2609,13 +2609,13 @@ public class TestPlayer implements Player {
}
@Override
public boolean flipCoin(Game game, boolean winnable) {
return computerPlayer.flipCoin(game, true);
public boolean flipCoin(Ability source, Game game, boolean winnable) {
return computerPlayer.flipCoin(source, game, true);
}
@Override
public boolean flipCoin(Game game, boolean winnable, ArrayList<UUID> appliedEffects) {
return computerPlayer.flipCoin(game, true, appliedEffects);
public boolean flipCoin(Ability source, Game game, boolean winnable, ArrayList<UUID> appliedEffects) {
return computerPlayer.flipCoin(source, game, true, appliedEffects);
}
@Override

View file

@ -642,12 +642,12 @@ public class PlayerStub implements Player {
}
@Override
public boolean flipCoin(Game game, boolean winnable) {
public boolean flipCoin(Ability source, Game game, boolean winnable) {
return false;
}
@Override
public boolean flipCoin(Game game, boolean winnable, ArrayList<UUID> appliedEffects) {
public boolean flipCoin(Ability source, Game game, boolean winnable, ArrayList<UUID> appliedEffects) {
return false;
}