blob: 5099b26f369b0480382de352cda7ef75e1bfa1a7 [file] [log] [blame]
#ifndef _RIVE_NESTED_LINEAR_ANIMATION_HPP_
#define _RIVE_NESTED_LINEAR_ANIMATION_HPP_
#include "rive/generated/animation/nested_linear_animation_base.hpp"
#include <stdio.h>
namespace rive
{
class LinearAnimationInstance;
class NestedLinearAnimation : public NestedLinearAnimationBase
{
protected:
std::unique_ptr<LinearAnimationInstance> m_AnimationInstance;
public:
NestedLinearAnimation();
~NestedLinearAnimation() override;
void initializeAnimation(ArtboardInstance*) override;
void releaseDependencies() override {}
LinearAnimationInstance* animationInstance()
{
return m_AnimationInstance.get();
}
};
} // namespace rive
#endif