public void addAnim(Animation anim) {
        animationMap.put(anim.getName(), anim);
    }
Adds an animation to be available for playing to this
<code>AnimControl</code>.

@param anim The animation to add.
jme3-core/src/main/java/com/jme3/animation/AnimControl.java