GUI, table: improved save/load table config to support player types, AI skill level and deck files (closes #12981)

This commit is contained in:
Oleg Agafonov 2024-10-11 17:09:15 +04:00
parent f652665f87
commit 3475249c99
4 changed files with 100 additions and 32 deletions

View file

@ -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();
}