* Correct type line rendering for split cards with different types on each half.

* Correct art rendering for Aftermath, Split, and Fuse cards on the stack. Fused cards show as a single card with all the abilities / characteristics of both halves while on the stack.
This commit is contained in:
Mark Langen 2017-04-04 21:58:52 -06:00
parent 7e3d276c57
commit 047449f14e
6 changed files with 159 additions and 26 deletions

View file

@ -0,0 +1,21 @@
package mage.cards;
import java.awt.geom.Rectangle2D;
/**
* Created by stravant@gmail.com on 2017-04-04.
*/
public enum ArtRect {
NORMAL(new Rectangle2D.Double(.079f, .11f, .84f, .42f)),
AFTERMATH_TOP(new Rectangle2D.Double(0.075, 0.113, 0.832, 0.227)),
AFTERMATH_BOTTOM(new Rectangle2D.Double(0.546, 0.562, 0.272, 0.346)),
SPLIT_LEFT(new Rectangle2D.Double(0.152, 0.539, 0.386, 0.400)),
SPLIT_RIGHT(new Rectangle2D.Double(0.152, 0.058, 0.386, 0.400)),
SPLIT_FUSED(null);
public final Rectangle2D rect;
ArtRect(Rectangle2D.Double rect) {
this.rect = rect;
}
}