mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
initial refactor
This commit is contained in:
parent
ed700e68cc
commit
f5fffcf417
62 changed files with 75 additions and 80 deletions
|
|
@ -2609,13 +2609,13 @@ public class TestPlayer implements Player {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean flipCoin(Game game) {
|
||||
return computerPlayer.flipCoin(game);
|
||||
public boolean flipCoin(Game game, boolean winnable) {
|
||||
return computerPlayer.flipCoin(game, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean flipCoin(Game game, ArrayList<UUID> appliedEffects) {
|
||||
return computerPlayer.flipCoin(game, appliedEffects);
|
||||
public boolean flipCoin(Game game, boolean winnable, ArrayList<UUID> appliedEffects) {
|
||||
return computerPlayer.flipCoin(game, true, appliedEffects);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -642,12 +642,12 @@ public class PlayerStub implements Player {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean flipCoin(Game game) {
|
||||
public boolean flipCoin(Game game, boolean winnable) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean flipCoin(Game game, ArrayList<UUID> appliedEffects) {
|
||||
public boolean flipCoin(Game game, boolean winnable, ArrayList<UUID> appliedEffects) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue