Search in sources :

Example 1 with CharacterGenerationTools

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);
}
Also used : CharacterData(delta.games.lotro.character.CharacterData) CharacterGeneratorMeva(delta.games.lotro.character.stats.CharacterGeneratorMeva) CharacterGenerationTools(delta.games.lotro.character.stats.CharacterGenerationTools)

Example 2 with CharacterGenerationTools

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);
}
Also used : CharacterData(delta.games.lotro.character.CharacterData) CharacterGeneratorMeva(delta.games.lotro.character.stats.CharacterGeneratorMeva) JFrame(javax.swing.JFrame) CharacterGenerationTools(delta.games.lotro.character.stats.CharacterGenerationTools)

Example 3 with CharacterGenerationTools

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);
}
Also used : CharacterData(delta.games.lotro.character.CharacterData) CharacterGeneratorMeva(delta.games.lotro.character.stats.CharacterGeneratorMeva) JFrame(javax.swing.JFrame) VirtuesSet(delta.games.lotro.character.stats.virtues.VirtuesSet) CharacterGenerationTools(delta.games.lotro.character.stats.CharacterGenerationTools)

Example 4 with CharacterGenerationTools

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);
}
Also used : CharacterData(delta.games.lotro.character.CharacterData) CharacterGeneratorGiswald(delta.games.lotro.character.stats.CharacterGeneratorGiswald) CharacterGenerationTools(delta.games.lotro.character.stats.CharacterGenerationTools)

Example 5 with CharacterGenerationTools

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);
}
Also used : CharacterData(delta.games.lotro.character.CharacterData) CharacterGeneratorMeva(delta.games.lotro.character.stats.CharacterGeneratorMeva) CharacterStatsComputer(delta.games.lotro.character.stats.CharacterStatsComputer) JFrame(javax.swing.JFrame) BasicStatsSet(delta.games.lotro.character.stats.BasicStatsSet) CharacterGenerationTools(delta.games.lotro.character.stats.CharacterGenerationTools)

Aggregations

CharacterData (delta.games.lotro.character.CharacterData)8 CharacterGenerationTools (delta.games.lotro.character.stats.CharacterGenerationTools)8 CharacterGeneratorMeva (delta.games.lotro.character.stats.CharacterGeneratorMeva)6 JFrame (javax.swing.JFrame)4 BasicStatsSet (delta.games.lotro.character.stats.BasicStatsSet)2 CharacterGeneratorGiswald (delta.games.lotro.character.stats.CharacterGeneratorGiswald)2 CharacterStatsComputer (delta.games.lotro.character.stats.CharacterStatsComputer)2 VirtuesSet (delta.games.lotro.character.stats.virtues.VirtuesSet)2 DefaultWindowController (delta.common.ui.swing.windows.DefaultWindowController)1 ArrayList (java.util.ArrayList)1 JPanel (javax.swing.JPanel)1