bool MotionManager::saveMotion(const std::string &animName, const std::string& fileName) //const { Motion* anim = getMotion(animName); if(anim) { anim->writeToFile(fileName); return true; } return false; }