mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 11:02:00 -08:00
Merge branch 'CardRepository'
This commit is contained in:
commit
f64149971a
79 changed files with 1811 additions and 2686 deletions
|
|
@ -1,6 +1,5 @@
|
|||
package mage.interfaces.plugin;
|
||||
|
||||
import mage.cards.Card;
|
||||
import mage.cards.MagePermanent;
|
||||
import mage.cards.action.ActionCallback;
|
||||
import mage.view.CardView;
|
||||
|
|
@ -12,7 +11,6 @@ import java.awt.*;
|
|||
import java.awt.image.BufferedImage;
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
|
@ -29,22 +27,6 @@ public interface CardPlugin extends Plugin {
|
|||
MagePermanent getMageCard(CardView permanent, Dimension dimension, UUID gameId, ActionCallback callback, boolean canBeFoil, boolean loadImage);
|
||||
int 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.
|
||||
*
|
||||
* @param allCards Set of cards to download images for.
|
||||
* @param imagesPath Path to check in and store images to. Can be null, in such case default path should be used.
|
||||
*/
|
||||
void downloadImages(Set<Card> allCards, String imagesPath);
|
||||
|
||||
/**
|
||||
* Download various symbols (mana, tap, set).
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue