MinieLibrary/src/main/java/com/jme3/bullet/animation/DacLinks.java
/**
     * Verify that this control is added to a Spatial.
     *
     * @param desiredAction (not null, not empty)
     */
Verify that this control is added to a Spatial.
@param desiredAction (not null, not empty)
Verify that this control is added to a Spatial . @param desiredAction ( not null not empty )
protected void verifyAddedToSpatial(String desiredAction) {
        assert desiredAction != null;
        Spatial controlledSpatial = getSpatial();
        if (controlledSpatial == null) {
            String message = "Cannot " + desiredAction
                    + " unless the Control is added to a Spatial.";
            throw new IllegalStateException(message);
        }
    }
protected void verifyAddedToSpatial ( String desiredAction ) { assert desiredAction != null ; Spatial controlledSpatial = getSpatial ( ) ; if ( controlledSpatial == null ) { String message = "Cannot " + desiredAction + " unless the Control is added to a Spatial." ; throw new IllegalStateException ( message ) ; } }
Verify that this control is added to a Spatial.
Verify that this control is added to a Spatial .