1 #ifndef _RIVE_STATE_MACHINE_LAYER_BASE_HPP_
2 #define _RIVE_STATE_MACHINE_LAYER_BASE_HPP_
3 #include "animation/state_machine_component.hpp"
6 class StateMachineLayerBase : public StateMachineComponent
9 typedef StateMachineComponent Super;
12 static const uint16_t typeKey = 57;
14 /// Helper to quickly determine if a core object extends another without
16 bool isTypeOf(uint16_t typeKey) const override
20 case StateMachineLayerBase::typeKey:
21 case StateMachineComponentBase::typeKey:
28 uint16_t coreType() const override { return typeKey; }
30 Core* clone() const override;