Get the Art Count for a given PaperCard looking for a candidate in all available databases. @param card Instance of target PaperCard @return The number of available arts for the given card in the corresponding set, or 0 if not found.
(PaperCard card)
| 703 | * @return The number of available arts for the given card in the corresponding set, or 0 if not found. |
| 704 | */ |
| 705 | public int getCardArtCount(PaperCard card) { |
| 706 | Collection<CardDb> databases = this.getAvailableDatabases().values(); |
| 707 | for (CardDb db: databases){ |
| 708 | int artCount = db.getArtCount(card.getName(), card.getEdition()); |
| 709 | if (artCount > 0) |
| 710 | return artCount; |
| 711 | } |
| 712 | return 0; |
| 713 | } |
| 714 | |
| 715 | public boolean getFilteredHandsEnabled() { |
| 716 | return filteredHandsEnabled; |
no test coverage detected