Nymph Game Engine
Chaiscript based Game Engine
|
Class for animation trigger event. More...
#include <animation_trigger_event.hpp>
Public Member Functions | |
AnimationTriggerEvent (const StateType &state) | |
AnimationTriggerEvent constructor. More... | |
StateType | getState () const noexcept |
Gets the state. More... | |
Public Member Functions inherited from Events::Event | |
Event (const EventType &type) | |
Event constructor. More... | |
EventType | getEventType () const |
Gets the event type. More... | |
Static Public Member Functions | |
static std::shared_ptr < AnimationTriggerEvent < StateType > > | create (const StateType &state) |
Factory function. More... | |
Class for animation trigger event.
|
inline |
AnimationTriggerEvent constructor.
[in] | state | The state that the animation will change to |
|
inlinestatic |
Factory function.
[in] | state | The state |
|
inlinenoexcept |
Gets the state.