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