forked from External/mage
Fixed interfaces. Some changes to mouse handling (commented out for a while).
This commit is contained in:
parent
14c91ec9d9
commit
d9686a0a9b
6 changed files with 112 additions and 84 deletions
|
|
@ -145,6 +145,10 @@ public class Card extends MagePermanent implements MouseMotionListener, MouseLis
|
|||
return card.getId();
|
||||
}
|
||||
|
||||
public void update(PermanentView permanent) {
|
||||
this.update(permanent.getOriginal());
|
||||
}
|
||||
|
||||
public void update(CardView card) {
|
||||
this.card = card;
|
||||
Graphics2D gImage = image.createGraphics();
|
||||
|
|
@ -465,9 +469,4 @@ public class Card extends MagePermanent implements MouseMotionListener, MouseLis
|
|||
public void setCardBounds(int x, int y, int width, int height) {
|
||||
throw new RuntimeException("Not implemented");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateCard(PermanentView card) {
|
||||
update(card);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue