1 #ifndef SET_ENTITY_ACTIVE_EVENT_H
2 #define SET_ENTITY_ACTIVE_EVENT_H
32 static std::shared_ptr<SetEntityActiveEvent>
create(
const bool active) {
return std::make_shared<SetEntityActiveEvent>(active); }\
Class for event.
Definition: event.h:10
bool getActive() const noexcept
Gets active.
Definition: set_entity_active_event.h:38
Class for set entity active event.
Definition: set_entity_active_event.h:13
EventType
Event type enum that is used when passing events.
Definition: event_type.h:12
static std::shared_ptr< SetEntityActiveEvent > create(const bool active)
Factory function.
Definition: set_entity_active_event.h:32
Definition: event_type.h:28
Event(const EventType &type)
Event constructor.
Definition: event.h:21
SetEntityActiveEvent(const bool active)
Constructor for SetEntityActiveEvent.
Definition: set_entity_active_event.h:24