blob: 0864e2b48061e0ea0ef5bb9a82e97733c3191d90 [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