[card.plugin] unified mouse adapter. now tooltips should work.

This commit is contained in:
magenoxx 2010-11-22 12:36:37 +00:00
parent fa99548105
commit b501b10f9a
13 changed files with 205 additions and 57 deletions

View file

@ -89,8 +89,6 @@ public class BattlefieldPanel extends javax.swing.JLayeredPane implements Compon
public void init(UUID gameId, BigCard bigCard) {
this.gameId = gameId;
this.bigCard = bigCard;
addMouseListener(new MageMouseAdapter(this, gameId));
addMouseMotionListener(new MageMouseMotionAdapter(this, bigCard));
}
public void update(Map<UUID, PermanentView> battlefield) {