blob: 6d3072701586b87c7eda2ef36c347a2e5c86a978 [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;
LinearAnimationInstance* animationInstance() { return m_AnimationInstance.get(); }
};
} // namespace rive
#endif