public boolean removeCinematicEvent(CinematicEvent cinematicEvent) {
        cinematicEvent.dispose();
        cinematicEvents.remove(cinematicEvent);
        for (KeyFrame keyFrame : timeLine.values()) {
            if (keyFrame.cinematicEvents.remove(cinematicEvent)) {
                return true;
            }
        }
        return false;
    }
removes the first occurrence found of the given cinematicEvent.

@param cinematicEvent the cinematicEvent to remove
@return true if the element has been removed
jme3-core/src/main/java/com/jme3/cinematic/Cinematic.java