public void removeListener(MotionPathListener listener) {
        if (listeners != null) {
            listeners.remove(listener);
        }
    }
remove the given listener
@param listener the listener to remove
jme3-core/src/main/java/com/jme3/cinematic/MotionPath.java