mirror of
https://github.com/magefree/mage.git
synced 2026-01-18 17:29:58 -08:00
check for new card images when client starts
This commit is contained in:
parent
0ce1b4b918
commit
f9cb39ea7e
6 changed files with 51 additions and 1 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue