Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / rive-cpp / include / rive / generated / animation / layer_state_base.hpp
1 #ifndef _RIVE_LAYER_STATE_BASE_HPP_
2 #define _RIVE_LAYER_STATE_BASE_HPP_
3 #include "rive/animation/state_machine_layer_component.hpp"
4 namespace rive {
5     class LayerStateBase : public StateMachineLayerComponent {
6     protected:
7         typedef StateMachineLayerComponent Super;
8
9     public:
10         static const uint16_t typeKey = 60;
11
12         /// Helper to quickly determine if a core object extends another without RTTI
13         /// at runtime.
14         bool isTypeOf(uint16_t typeKey) const override {
15             switch (typeKey) {
16                 case LayerStateBase::typeKey:
17                 case StateMachineLayerComponentBase::typeKey:
18                     return true;
19                 default:
20                     return false;
21             }
22         }
23
24         uint16_t coreType() const override { return typeKey; }
25
26     protected:
27     };
28 } // namespace rive
29
30 #endif