forked from External/mage
GUI, table: improved save/load table config to support player types, AI skill level and deck files (closes #12981)
This commit is contained in:
parent
f652665f87
commit
3475249c99
4 changed files with 100 additions and 32 deletions
|
|
@ -77,7 +77,11 @@ public class NewPlayerPanel extends javax.swing.JPanel {
|
|||
this.txtPlayerDeck.setText(deckFile);
|
||||
}
|
||||
|
||||
public int getLevel() {
|
||||
public void setSkillLevel(int level) {
|
||||
this.spnLevel.setValue(level);
|
||||
}
|
||||
|
||||
public int getSkillLevel() {
|
||||
return (Integer) spnLevel.getValue();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue