private void showAvailableSpells(MagicLearnView magicLearnView) { List<Spell> availableSpells = spellConfiguration.getAvailableSpellsInCircle(circleModel.getSelectedCircle()); List<Spell> sortedSpells = new I18nedIdentificateSorter<Spell>().sortAscending(availableSpells, resources); magicLearnView.setAvailableMagic(sortedSpells); }
private void showLearnedSpells(MagicLearnView magicLearnView) { List<Spell> learnedSpells = spellConfiguration.getLearnedSpellsInCircles(circleModel.getCircles()); magicLearnView.setLearnedMagic(learnedSpells); }