mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
Implementing new function in all classes implementing Player
This commit is contained in:
parent
c5cedc2aba
commit
4057cc2859
4 changed files with 9 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue