Refactor: added missing getPlayersInRange in cards code (to ignore leaved/lost players);

This commit is contained in:
Oleg Agafonov 2019-12-26 05:24:44 +04:00
parent 04cceb9b62
commit 61a58d36c2
15 changed files with 75 additions and 110 deletions

View file

@ -2203,11 +2203,6 @@ public class TestPlayer implements Player {
return computerPlayer.getCounters();
}
@Override
public void otherPlayerLeftGame(Game game) {
computerPlayer.otherPlayerLeftGame(game);
}
@Override
public void beginTurn(Game game) {
checkLegalMovesThisTurn(game);

View file

@ -403,11 +403,6 @@ public class PlayerStub implements Player {
return false;
}
@Override
public void otherPlayerLeftGame(Game game) {
}
@Override
public ManaPool getManaPool() {
return null;