|
Nymph Game Engine
Chaiscript based Game Engine
|
Class for set entity active event. More...
#include <set_entity_active_event.h>
Public Member Functions | |
| SetEntityActiveEvent (const bool active) | |
| Constructor for SetEntityActiveEvent. More... | |
| bool | getActive () const noexcept |
| Gets active. 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 < SetEntityActiveEvent > | create (const bool active) |
| Factory function. More... | |
Class for set entity active event.
|
inline |
Constructor for SetEntityActiveEvent.
| [in] | active | True if active |
|
inlinestatic |
Factory function.
| [in] | active | The active |
Referenced by generated::getSetEntityActiveEventModule(), and Graphics::UI::QuitButton::onLeftClick().
|
inlinenoexcept |