Hiding 'End Turn' button

This commit is contained in:
magenoxx 2012-06-28 00:53:59 +04:00
parent 004aa20d08
commit 25bdce4b67
3 changed files with 17 additions and 7 deletions

View file

@ -134,18 +134,17 @@ public class FeedbackPanel extends javax.swing.JPanel {
this.helper.setSpecial("Pay 2 life", true);
}
boolean yourTurn = options != null && options.containsKey("your_turn");
requestFocusIfPossible();
handleOptions(options);
this.revalidate();
this.repaint();
this.helper.setLinks(btnLeft, btnRight, btnSpecial);
// if (modal) {
// this.helper.setVisible(false);
// startModal();
// } else {
this.helper.setVisible(true);
// }
this.helper.setYourTurn(yourTurn);
this.helper.setVisible(true);
}
private void handleOptions(Map<String, Serializable> options) {