Add fallback card render (origin card render), see #4168

This commit is contained in:
Oleg Agafonov 2017-11-18 05:13:38 +04:00
parent 890b7fd703
commit f81489c377
10 changed files with 235 additions and 65 deletions

View file

@ -25,8 +25,8 @@ public abstract class MageCard extends JPanel {
public abstract CardView getOriginal();
// sets the vertical text offset for the card name on the image
public abstract void setTextOffset(int yOffset);
// sets the vertical text offset for the card name on the image, use to move caption to card center
public abstract void setCardCaptionTopOffset(int yOffsetPercent);
public abstract void setCardBounds(int x, int y, int width, int height);