mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
* 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:
parent
7e3d276c57
commit
047449f14e
6 changed files with 159 additions and 26 deletions
21
Mage/src/main/java/mage/cards/ArtRect.java
Normal file
21
Mage/src/main/java/mage/cards/ArtRect.java
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue