Removed majority of memory leaks from game / editor / dialog handling.

This commit is contained in:
LevelX2 2014-02-02 21:57:02 +01:00
parent 11df1dc059
commit 0a18a7bea6
24 changed files with 215 additions and 138 deletions

View file

@ -58,6 +58,10 @@ public class HandPanel extends JPanel {
hand.setZone(Zone.HAND.toString());
}
public void cleanUp() {
hand.cleanUp();
}
public void loadCards(CardsView cards, BigCard bigCard, UUID gameId) {
hand.loadCards(cards, bigCard, gameId, null);
hand.sizeCards(getHandCardDimension());