Fixed interfaces. Some changes to mouse handling (commented out for a while).

This commit is contained in:
magenoxx 2010-11-05 12:47:37 +00:00
parent 14c91ec9d9
commit d9686a0a9b
6 changed files with 112 additions and 84 deletions

View file

@ -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);
}
}