blob: 7bfefd466c103d1c78e2c0a8bc3e0fb8c9202150 [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(ArtboardInstance* artboard) {
assert(m_AnimationInstance == nullptr);
m_AnimationInstance = new LinearAnimationInstance(artboard->animation(animationId()), artboard);
}