private void clearMoveAnimationBindings() { myNode.removeControl(figureControl); // Just returns false if not attached Animation oldAnim = figureControl.getAnim(MOVE_ANIM_NAME); if (oldAnim != null) { figureControl.removeAnim(oldAnim); } }
private void clearMoveAnimationBindings() { myNode.removeControl(figureControl); // Just returns false if not attached Animation oldAnim = figureControl.getAnim(MOVE_ANIM_NAME); if (oldAnim != null) { figureControl.removeAnim(oldAnim); } }