final Nifty nifty,
final Element element,
final EffectEventId effectEventId,
final Attributes effectsTypeAttibutes,
final LinkedList < Object > controllers) {
Attributes effectAttributes = new Attributes(getAttributes());
effectAttributes.merge(effectsTypeAttibutes);
Attributes attributes = effectAttributes;
RegisterEffectType registerEffectType = getRegisteredEffectType(nifty, attributes);
if (registerEffectType == null) {
return;
}
Class < ? > effectClass = registerEffectType.getEffectClass();
if (effectClass == null) {
return;
}
EffectProperties effectProperties = new EffectProperties(attributes.createProperties());
applyEffectValues(effectProperties);
Effect effect = createEffect(nifty, effectEventId, attributes);
effect.init(
element,