Exemplo n.º 1
0
 private void initCharacterType(ICharmTemplate charmTemplate, ICharacterType type) {
   CharmTree charmTree = new CharmTree(charmTemplate);
   alienTreesByType.put(type, charmTree);
   ILearningCharmGroup[] groups = createGroups(charmTree.getAllCharmGroups());
   nonMartialArtsGroupsByType.put(type, groups);
   templatesByType.put(type, charmTemplate);
 }
Exemplo n.º 2
0
 private void initUniqueTypes(ICharmTemplate charmTemplate) {
   if (!charmTemplate.hasUniqueCharms()) {
     return;
   }
   IUniqueCharmType type = charmTemplate.getUniqueCharmType();
   CharmTree charmTree = new CharmTree(charmTemplate.getUniqueCharms());
   ILearningCharmGroup[] groups = createGroups(charmTree.getAllCharmGroups());
   nonMartialArtsGroupsByType.put(type.getId(), groups);
   alienTreesByType.put(type.getId(), charmTree);
 }