use of delta.games.lotro.character.stats.CharacterGenerationTools in project lotro-companion by dmorcellet.
the class MainTestStatCurveChart method doIt.
private void doIt() {
CharacterGenerationTools tools = new CharacterGenerationTools();
CharacterGeneratorMeva generator = new CharacterGeneratorMeva(tools);
CharacterData c = generator.buildCharacter();
doIt(c);
}
use of delta.games.lotro.character.stats.CharacterGenerationTools in project lotro-companion by dmorcellet.
the class MainTestCharacterMainAttrsEditionPanel 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();
meva.setDate(Long.valueOf(System.currentTimeMillis()));
CharacterMainAttrsEditionPanelController panelCtrl = new CharacterMainAttrsEditionPanelController(null, meva);
panelCtrl.set();
JFrame frame = new JFrame();
frame.add(panelCtrl.getPanel());
frame.pack();
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.setVisible(true);
}
use of delta.games.lotro.character.stats.CharacterGenerationTools in project lotro-companion by dmorcellet.
the class MainTestVirtuesDisplayPanel 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();
meva.setDate(Long.valueOf(System.currentTimeMillis()));
VirtuesDisplayPanelController panelCtrl = new VirtuesDisplayPanelController();
VirtuesSet virtues = meva.getVirtues();
virtues.setSelectedVirtue(null, 1);
panelCtrl.setVirtues(virtues);
JFrame frame = new JFrame();
frame.add(panelCtrl.getPanel());
frame.pack();
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.setVisible(true);
}
use of delta.games.lotro.character.stats.CharacterGenerationTools in project lotro-companion by dmorcellet.
the class MainTestStatContribsChart method doIt.
private void doIt() {
CharacterGenerationTools tools = new CharacterGenerationTools();
CharacterGeneratorGiswald generator = new CharacterGeneratorGiswald(tools);
CharacterData c = generator.buildCharacter();
doIt(c);
}
use of delta.games.lotro.character.stats.CharacterGenerationTools in project lotro-companion by dmorcellet.
the class MainTestCharacterStatsSummaryPanelController 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();
CharacterStatsComputer statsComputer = new CharacterStatsComputer();
BasicStatsSet stats = statsComputer.getStats(meva);
meva.getStats().setStats(stats);
CharacterStatsSummaryPanelController panelCtrl = new CharacterStatsSummaryPanelController(null, meva);
JFrame frame = new JFrame();
frame.add(panelCtrl.getPanel());
frame.pack();
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.setVisible(true);
}
Aggregations