Implementing new function in all classes implementing Player

This commit is contained in:
Tyler Moore 2018-10-04 14:16:52 -07:00
parent c5cedc2aba
commit 4057cc2859
4 changed files with 9 additions and 3 deletions

View file

@ -2072,6 +2072,10 @@ public class TestPlayer implements Player {
return computerPlayer.searchLibrary(target, game, targetPlayerId, triggerEvents);
}
public void lookAtAllLibraries(Ability source, Game game) {
computerPlayer.lookAtAllLibraries(source, game);
}
@Override
public boolean flipCoin(Game game) {
return computerPlayer.flipCoin(game);

View file

@ -597,6 +597,9 @@ public class PlayerStub implements Player {
return false;
}
@Override
public void lookAtAllLibraries(Ability source, Game game) {}
@Override
public boolean canPlayLand() {
return false;