public void addListener(MotionPathListener listener) {
        if (listeners == null) {
            listeners = new ArrayList<MotionPathListener>();
        }
        listeners.add(listener);
    }
Adds a motion pathListener to the path
@param listener the MotionPathListener to attach
jme3-core/src/main/java/com/jme3/cinematic/MotionPath.java