Search in sources :

Example 1 with TraitPointsEditionWindowController

use of delta.games.lotro.gui.stats.traitPoints.TraitPointsEditionWindowController in project lotro-companion by dmorcellet.

the class CharacterFileWindowController method editTraitPoints.

private void editTraitPoints() {
    CharacterSummary summary = _toon.getSummary();
    TraitPointsStatus pointsStatus = TraitPoints.get().load(_toon);
    TraitPointsEditionWindowController controller = new TraitPointsEditionWindowController(this, summary, pointsStatus);
    TraitPointsStatus newStatus = controller.editModal();
    if (newStatus != null) {
        TraitPoints.get().save(_toon, newStatus);
    }
}
Also used : CharacterSummary(delta.games.lotro.character.CharacterSummary) TraitPointsStatus(delta.games.lotro.stats.traitPoints.TraitPointsStatus) TraitPointsEditionWindowController(delta.games.lotro.gui.stats.traitPoints.TraitPointsEditionWindowController)

Aggregations

CharacterSummary (delta.games.lotro.character.CharacterSummary)1 TraitPointsEditionWindowController (delta.games.lotro.gui.stats.traitPoints.TraitPointsEditionWindowController)1 TraitPointsStatus (delta.games.lotro.stats.traitPoints.TraitPointsStatus)1