guiVersion of project, rewriting code for maximum clarity
This commit is contained in:
@@ -0,0 +1,129 @@
|
||||
public static class PanelHolder {
|
||||
|
||||
private JPanel mainMenuPanel;
|
||||
private JPanel racePanel;
|
||||
private JPanel classPanel;
|
||||
private JPanel abilityScorePanel;
|
||||
private JPanel descriptionPanel;
|
||||
private JPanel equipmentPanel;
|
||||
private JPanel finalizePanel;
|
||||
private JPanel loadMenuPanel;
|
||||
|
||||
public PanelHolder() {
|
||||
|
||||
this.mainMenuPanel = createMainMenuPanel();
|
||||
this.racePanel = createRaceSelectPanel();
|
||||
this.classPanel = createClassSelectPanel();
|
||||
this.abilityScorePanel = createAbilityScoreSelectPanel();
|
||||
this.descriptionPanel = createDescriptionPanel();
|
||||
this.equipmentPanel = createEquipmentSelectPanel();
|
||||
this.finalizePanel = createFinalizePanel();
|
||||
this.loadMenuPanel = createLoadMenu();
|
||||
|
||||
}
|
||||
|
||||
public JPanel getMainMenuPanel() {
|
||||
|
||||
return mainMenuPanel;
|
||||
|
||||
}
|
||||
|
||||
public JPanel getRacePanel() {
|
||||
|
||||
return racePanel;
|
||||
|
||||
}
|
||||
|
||||
public JPanel getClassPanel() {
|
||||
|
||||
return classPanel;
|
||||
|
||||
}
|
||||
|
||||
public JPanel getAbilityScorePanel() {
|
||||
|
||||
return abilityScorePanel;
|
||||
|
||||
}
|
||||
|
||||
public JPanel getDescriptionPanel() {
|
||||
|
||||
return descriptionPanel;
|
||||
|
||||
}
|
||||
|
||||
public JPanel getEquipmentPanel() {
|
||||
|
||||
return equipmentPanel;
|
||||
|
||||
}
|
||||
|
||||
public JPanel getFinalizePanel() {
|
||||
|
||||
return finalizePanel;
|
||||
|
||||
}
|
||||
|
||||
public JPanel getLoadMenuPanel() {
|
||||
|
||||
return loadMenuPanel;
|
||||
|
||||
}
|
||||
|
||||
// TODO: Need to implement.
|
||||
private JPanel createMainMenuPanel() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
// TODO: Need to implement.
|
||||
private JPanel createRaceSelectPanel() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
// TODO: Need to implement.
|
||||
private JPanel createClassSelectPanel() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
// TODO: Need to implement.
|
||||
private JPanel createAbilityScoreSelectPanel() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
// TODO: Need to implement.
|
||||
private JPanel createDescriptionPanel() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
// TODO: Need to implement.
|
||||
private JPanel createEquipmentSelectPanel() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
// TODO: Need to implement.
|
||||
private JPanel createFinalizePanel() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
// TODO: Need to implement.
|
||||
private JPanel createLoadMenu() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user