blob: 43a92740e0c3810464d7655b0357b3f3f5703ce7 [file] [log] [blame]
#include "rive/importers/linear_animation_importer.hpp"
#include "rive/animation/keyed_object.hpp"
#include "rive/animation/linear_animation.hpp"
#include "rive/artboard.hpp"
using namespace rive;
LinearAnimationImporter::LinearAnimationImporter(LinearAnimation* animation) :
m_Animation(animation) {}
void LinearAnimationImporter::addKeyedObject(std::unique_ptr<KeyedObject> object) {
m_Animation->addKeyedObject(std::move(object));
}