mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Show ??? as name for face-down cards
This commit is contained in:
@@ -176,7 +176,7 @@ public class CardDetailPanel extends SkinnedPanel {
|
||||
|
||||
if (card.isFaceDown()) {
|
||||
if (card.isInZone(ZoneType.Battlefield)) {
|
||||
this.nameCostLabel.setText("Morph");
|
||||
this.nameCostLabel.setText("???");
|
||||
this.typeLabel.setText("Creature");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -544,7 +544,7 @@ public class InputSelectCard {
|
||||
|
||||
x += padding;
|
||||
w -= 2 * padding;
|
||||
g.drawText(card.getName(), NAME_FONT, Color.BLACK, x, y, w - manaCostWidth - padding, h, false, HAlignment.LEFT, true);
|
||||
g.drawText(card.isFaceDown() ? "???" : card.getName(), NAME_FONT, Color.BLACK, x, y, w - manaCostWidth - padding, h, false, HAlignment.LEFT, true);
|
||||
|
||||
y += h;
|
||||
h = 2 * TYPE_FONT.getFont().getCapHeight();
|
||||
|
||||
Reference in New Issue
Block a user