1 #ifndef _RIVE_STATE_MACHINE_TRIGGER_BASE_HPP_
2 #define _RIVE_STATE_MACHINE_TRIGGER_BASE_HPP_
3 #include "animation/state_machine_input.hpp"
6 class StateMachineTriggerBase : public StateMachineInput
9 typedef StateMachineInput Super;
12 static const uint16_t typeKey = 58;
14 /// Helper to quickly determine if a core object extends another without
16 bool isTypeOf(uint16_t typeKey) const override
20 case StateMachineTriggerBase::typeKey:
21 case StateMachineInputBase::typeKey:
22 case StateMachineComponentBase::typeKey:
29 uint16_t coreType() const override { return typeKey; }
31 Core* clone() const override;