forked from External/mage
[card.plugin] Added card info panel. At the moment can be seen only in deck editor with -DtestCardInfo VM parameter.
This commit is contained in:
parent
53a26bb3b5
commit
49e44b92b1
12 changed files with 289 additions and 37 deletions
|
|
@ -181,4 +181,14 @@ public class Plugins implements MagePlugins {
|
|||
this.cardPlugin.onRemoveCard(card);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public JComponent getCardInfoPane() {
|
||||
if (this.cardPlugin != null) {
|
||||
return this.cardPlugin.getCardInfoPane();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue