mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 04:22:01 -08:00
moved faceDown property from Card to CardState
This commit is contained in:
parent
d7b9a4a979
commit
9ad8530dee
61 changed files with 378 additions and 224 deletions
|
|
@ -721,13 +721,13 @@ public class CardPanel extends MagePermanent implements MouseListener, MouseMoti
|
|||
|
||||
private BufferedImage getFaceDownImage() {
|
||||
if (isPermanent) {
|
||||
if (gameCard.isMorphCard() && ((PermanentView) gameCard).isMorphed()) {
|
||||
if (((PermanentView) gameCard).isMorphed()) {
|
||||
return ImageCache.getMorphImage();
|
||||
} else {
|
||||
return ImageCache.getManifestImage();
|
||||
}
|
||||
} else {
|
||||
if (gameCard.isMorphCard() && this.gameCard instanceof StackAbilityView) {
|
||||
if (this.gameCard instanceof StackAbilityView) {
|
||||
return ImageCache.getMorphImage();
|
||||
} else {
|
||||
return ImageCache.loadImage(new TFile(DirectLinksForDownload.outDir + File.separator + DirectLinksForDownload.cardbackFilename));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue