use of pcgen.facade.core.LanguageChooserFacade in project pcgen by PCGen.
the class CharacterFacadeImpl method getLanguageChoosers.
@Override
public ListFacade<LanguageChooserFacade> getLanguageChoosers() {
CNAbility cna = theCharacter.getBonusLanguageAbility();
DefaultListFacade<LanguageChooserFacade> chooserList = new DefaultListFacade<>();
chooserList.addElement(new LanguageChooserFacadeImpl(this, LanguageBundle.getString("in_sumLangBonus"), //$NON-NLS-1$
cna));
SkillFacade speakLangSkill = dataSet.getSpeakLanguageSkill();
if (speakLangSkill != null) {
chooserList.addElement(new LanguageChooserFacadeImpl(this, //$NON-NLS-1$
LanguageBundle.getString("in_sumLangSkill"), (Skill) speakLangSkill));
}
return chooserList;
}
Aggregations