DeckEditor: draft mode, removing card for cardpool and no possibility to return card back.

This commit is contained in:
magenoxx 2010-12-13 00:26:39 +03:00
parent 100a0a54e1
commit e45efd0527
2 changed files with 8 additions and 2 deletions

View file

@ -125,7 +125,7 @@ public class CardGrid extends javax.swing.JLayeredPane implements MouseListener
resizeArea();
}
private void removeCard(UUID cardId) {
public void removeCard(UUID cardId) {
for (Component comp: getComponents()) {
if (comp instanceof Card) {
if (((Card)comp).getCardId().equals(cardId)) {