blob: f2b1fcadf6a7dfb8e54c60d751f1fe6be45145f7 [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));
}