1 #ifndef _RIVE_LAYER_STATE_BASE_HPP_
2 #define _RIVE_LAYER_STATE_BASE_HPP_
3 #include "rive/animation/state_machine_layer_component.hpp"
5 class LayerStateBase : public StateMachineLayerComponent {
7 typedef StateMachineLayerComponent Super;
10 static const uint16_t typeKey = 60;
12 /// Helper to quickly determine if a core object extends another without RTTI
14 bool isTypeOf(uint16_t typeKey) const override {
16 case LayerStateBase::typeKey:
17 case StateMachineLayerComponentBase::typeKey:
24 uint16_t coreType() const override { return typeKey; }