public void addControl(Control control) {
        boolean before = requiresUpdates();
        controls.add(control);
        control.setSpatial(this);
        boolean after = requiresUpdates();
        // If the requirement to be updated has changed,
        // then we need to let the parent node know, so it
        // can rebuild its update list.
        if (parent != null && before != after) {
            parent.invalidateUpdateList();
        }
    }
Add a control to the list of controls.

@param control The control to add.

@see Spatial#removeControl(java.lang.Class)
jme3-core/src/main/java/com/jme3/scene/Spatial.java