check for new card images when client starts

This commit is contained in:
BetaSteward 2011-08-31 11:28:21 -04:00
parent 0ce1b4b918
commit f9cb39ea7e
6 changed files with 51 additions and 1 deletions

View file

@ -31,6 +31,14 @@ public interface CardPlugin extends Plugin {
MagePermanent getMageCard(CardView permanent, Dimension dimension, UUID gameId, ActionCallback callback, boolean canBeFoil, boolean loadImage);
void sortPermanents(Map<String, JComponent> ui, Collection<MagePermanent> cards, Map<String, String> options);
/**
* Check for new images.
*
* @param allCards Set of cards to check images for.
* @param imagesPath Path to check in. Can be null, in such case default path should be used.
*/
public boolean newImages(Set<Card> allCards, String imagesPath);
/**
* Download images.
*