Search in sources :

Example 1 with CharacterGeneratorMeva

use of delta.games.lotro.character.stats.CharacterGeneratorMeva 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 CharacterGeneratorMeva

use of delta.games.lotro.character.stats.CharacterGeneratorMeva 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 CharacterGeneratorMeva

use of delta.games.lotro.character.stats.CharacterGeneratorMeva 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 CharacterGeneratorMeva

use of delta.games.lotro.character.stats.CharacterGeneratorMeva 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)

Example 5 with CharacterGeneratorMeva

use of delta.games.lotro.character.stats.CharacterGeneratorMeva in project lotro-companion by dmorcellet.

the class MainTestAllEssencesEditionWindow 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()));
    AllEssencesEditionWindowController ctrl = new AllEssencesEditionWindowController(null, meva);
    ctrl.show();
}
Also used : CharacterData(delta.games.lotro.character.CharacterData) CharacterGeneratorMeva(delta.games.lotro.character.stats.CharacterGeneratorMeva) CharacterGenerationTools(delta.games.lotro.character.stats.CharacterGenerationTools)

Aggregations

CharacterData (delta.games.lotro.character.CharacterData)6 CharacterGenerationTools (delta.games.lotro.character.stats.CharacterGenerationTools)6 CharacterGeneratorMeva (delta.games.lotro.character.stats.CharacterGeneratorMeva)6 JFrame (javax.swing.JFrame)4 VirtuesSet (delta.games.lotro.character.stats.virtues.VirtuesSet)2 BasicStatsSet (delta.games.lotro.character.stats.BasicStatsSet)1 CharacterStatsComputer (delta.games.lotro.character.stats.CharacterStatsComputer)1