blob: b22c9a5faea707fc9caacf3cb9d4b6ff78c2e5b4 [file] [log] [blame]
#ifndef _RIVE_KEYED_OBJECT_HPP_
#define _RIVE_KEYED_OBJECT_HPP_
#include "rive/generated/animation/keyed_object_base.hpp"
#include <vector>
namespace rive {
class Artboard;
class KeyedProperty;
class KeyedObject : public KeyedObjectBase {
private:
std::vector<KeyedProperty*> m_KeyedProperties;
public:
~KeyedObject();
void addKeyedProperty(KeyedProperty* property);
StatusCode onAddedDirty(CoreContext* context) override;
StatusCode onAddedClean(CoreContext* context) override;
void apply(Artboard* coreContext, float time, float mix);
StatusCode import(ImportStack& importStack) override;
};
} // namespace rive
#endif