protected void invokeListeners(final PooledList<LmlParserListener> listeners, final Array<Actor> result) {
        for (final LmlParserListener listener : listeners) {
            if (!listener.onEvent(this, result)) {
                listeners.remove();
            }
        }
    }
protected void invokeListeners ( final PooledList < LmlParserListener > listeners , final Array < Actor > result ) { for ( final LmlParserListener listener : listeners ) { if ( ! listener . onEvent ( this , result ) ) { listeners . remove ( ) ; } } }
@param listeners will be invoked. Listeners returning false on
{@link LmlParserListener#onEvent(LmlParser, Array)} will be removed.
@param result parsed actors array in its current state.