effets.add((Effect) effect);
}
}
effets.get(selectedEffect).setSelected(true);
String[] effectList = new String[effets.size()];
EffectChoiceListGenerator eGenerator = new EffectChoiceListGenerator();
ArrayList<Class<?>> classList = eGenerator
.getEffectClasses(EffectChoiceListGenerator.path);
ArrayList<String> effectNameList = eGenerator
.getEffectName(EffectChoiceListGenerator.path);
for (int j = 0; j < effets.size(); j++) {
for (int i = 0; i < classList.size(); i++) {
if (Beans.isInstanceOf(effets.get(j), classList.get(i))) {
effectList[j] = effectNameList.get(i);