Fixed in controlling the turn. Mindslaver works now.

This commit is contained in:
magenoxx 2011-08-05 16:49:13 +04:00
parent 98d99d01c6
commit b562f57a5c
7 changed files with 99 additions and 149 deletions

View file

@ -880,7 +880,7 @@ public class GamePanel extends javax.swing.JPanel {
YOUR_HAND);
if (chosenHandKey != null && chosenHandKey.length() > 0) {
chosenHandKey = chosenHandKey;
this.chosenHandKey = chosenHandKey;
CardsView cards = handCards.get(chosenHandKey);
this.hand.loadCards(cards, bigCard, gameId);
hand.setPreferredSize(new java.awt.Dimension((getHandCardDimension().width + 5) * cards.size() + 5, getHandCardDimension().height + 20)); // for scroll