[card.plugin] first version (at the moment replaces only cards on battlefield) (should be installed manually)

This commit is contained in:
magenoxx 2010-11-06 21:23:21 +00:00
parent d022c251f6
commit 5771691972
18 changed files with 1093 additions and 33 deletions

View file

@ -24,6 +24,7 @@ public class MageMouseMotionAdapter extends MouseMotionAdapter {
@Override
public void mouseMoved(MouseEvent e) {
if (!Plugins.getInstance().isCardPluginLoaded()) return;
if (bigCard == null) return;
Object o = parent.getComponentAt(e.getPoint());
if (o instanceof MagePermanent) {
MagePermanent card = (MagePermanent) o;