blob: a6328e318e45e460d0c8e4ae533e42f3dbbc620c [file]
#ifndef _RIVE_ANIMATION_STATE_HPP_
#define _RIVE_ANIMATION_STATE_HPP_
#include "generated/animation/animation_state_base.hpp"
#include <stdio.h>
namespace rive
{
class LinearAnimation;
class Artboard;
class StateMachineLayerImporter;
class AnimationState : public AnimationStateBase
{
friend class StateMachineLayerImporter;
private:
LinearAnimation* m_Animation = nullptr;
public:
const LinearAnimation* animation() const { return m_Animation; }
StateInstance* makeInstance() const override;
};
} // namespace rive
#endif