use of main.ability.effects.EffectImpl in project Eidolons by IDemiurge.
the class ActivesConstructor method setAnimForEffects.
public static void setAnimForEffects(DC_ActiveObj entity) {
List<ActiveObj> list = new ArrayList<>(entity.getActives());
for (Active active : list) {
for (Ability abil : ((AbilityObj) active).getAbilities().getAbils()) {
for (Effect effect : abil.getEffects().getEffects()) {
if (effect instanceof EffectImpl) {
EffectImpl effect2 = (EffectImpl) effect;
effect2.setAnimationActive(entity);
}
}
}
}
}
Aggregations