blob: 87985c17b1487bfb78e86f4ffc152069f1d7dc12 [file] [log] [blame]
#include "rive/animation/nested_linear_animation.hpp"
#include "rive/animation/linear_animation_instance.hpp"
using namespace rive;
NestedLinearAnimation::~NestedLinearAnimation() { delete m_AnimationInstance; }
void NestedLinearAnimation::initializeAnimation(Artboard* artboard)
{
assert(m_AnimationInstance == nullptr);
m_AnimationInstance =
new LinearAnimationInstance(artboard->animation(animationId()));
}