[card.plugin] Symbols support: download and display. Please try it, if you don't like it, will remove or make configurable. Thanks to SillyFreak (Laterna Magica) for GathererSymbols downloader code.

This commit is contained in:
magenoxx 2010-11-24 08:20:46 +00:00
parent 7d9d2bc744
commit c650c43f94
35 changed files with 1758 additions and 25 deletions

View file

@ -27,6 +27,7 @@ public interface MagePlugins {
boolean isCounterPluginLoaded();
void sortPermanents(Map<String, JComponent> ui, Collection<MagePermanent> permanents);
void downloadImage(Set<Card> allCards);
void downloadSymbols();
int getGamesPlayed();
void addGamesPlayed();
}

View file

@ -112,6 +112,11 @@ public class Plugins implements MagePlugins {
public void downloadImage(Set<mage.cards.Card> allCards) {
if (this.cardPlugin != null) this.cardPlugin.downloadImages(allCards);
}
@Override
public void downloadSymbols() {
if (this.cardPlugin != null) this.cardPlugin.downloadSymbols();
}
@Override
public int getGamesPlayed() {