forked from External/mage
Hiding 'End Turn' button
This commit is contained in:
parent
004aa20d08
commit
25bdce4b67
3 changed files with 17 additions and 7 deletions
|
|
@ -176,4 +176,12 @@ public class HelperPanel extends JPanel {
|
|||
textArea.setText(message);
|
||||
}
|
||||
}
|
||||
|
||||
public void setYourTurn(boolean yourTurn) {
|
||||
if (yourTurn) {
|
||||
btnEndTurn.setVisible(true);
|
||||
} else {
|
||||
btnEndTurn.setVisible(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue