}
EffectProperties effectProperties = new EffectProperties(attributes.createProperties());
applyEffectValues(effectProperties);
Effect effect = createEffect(nifty, effectEventId, attributes);
effect.init(
element,
createEffectImpl(effectClass),
effectProperties,
nifty.getTimeProvider(),
controllers);