use of delta.games.lotro.character.stats.CharacterGeneratorMeva in project lotro-companion by dmorcellet.
the class MainTestVirtuesEditionPanel method main.
/**
* Basic main method for test.
* @param args Not used.
*/
public static void main(String[] args) {
CharacterGenerationTools tools = new CharacterGenerationTools();
CharacterGeneratorMeva mevaGenerator = new CharacterGeneratorMeva(tools);
CharacterData meva = mevaGenerator.buildCharacter();
VirtuesSet virtues = meva.getVirtues();
virtues.setSelectedVirtue(null, 1);
VirtuesEditionPanelController panelCtrl = new VirtuesEditionPanelController();
panelCtrl.setVirtues(virtues);
JFrame frame = new JFrame("Virtues edition");
frame.add(panelCtrl.getPanel());
frame.pack();
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.setVisible(true);
}
Aggregations