Adding lookAtAllLibraries to Player/PlayerImpl and using that method during JAOT's -8 resolution

This commit is contained in:
Tyler Moore 2018-10-04 13:45:44 -07:00
parent 02d9287cfa
commit c5cedc2aba
3 changed files with 23 additions and 0 deletions

View file

@ -350,6 +350,15 @@ public interface Player extends MageItem, Copyable<Player> {
*/
boolean searchLibrary(TargetCardInLibrary target, Game game, UUID targetPlayerId, boolean triggerEvents);
/**
* Reveals all players' libraries. Useful for abilities like Jace, Architect of Thought's -8
* that have effects that require information from all libraries.
* @param source
* @param game
* @return
*/
boolean lookAtAllLibraries(Ability source, Game game);
boolean canPlayLand();
/**