private NiftyMethodInvoker onEndEffect;
public void init(final Nifty nifty, final LinkedList < Object > controllers, final Properties parameter) {
String onStartEffectString = parameter.getProperty("onStartEffect");
if (onStartEffectString != null) {
onStartEffect = new NiftyMethodInvoker(nifty, onStartEffectString, controllers.toArray());
}
String onEndEffectString = parameter.getProperty("onEndEffect");
if (onEndEffectString != null) {
onEndEffect = new NiftyMethodInvoker(nifty, onEndEffectString, controllers.toArray());
}
}