- Adding Regeneration Shields into CardDetailPanel

This commit is contained in:
jendave
2011-08-06 13:03:22 +00:00
parent e17b21c408
commit 10818ac30e

View File

@@ -207,6 +207,13 @@ public class CardDetailPanel extends JPanel implements CardContainer {
}
}
// Regeneration Shields
int regenShields = card.getShield();
if (regenShields > 0){
if(area.length() != 0) area.append("\n");
area.append("Regeneration Shield(s): ").append(regenShields);
}
//top revealed
if(card.getKeyword().contains("Play with the top card of your library revealed.") &&
!card.getTopCardName().equals(""))