Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SetEntityActiveEvent Class Reference

Class for set entity active event. More...

#include <set_entity_active_event.h>

Inheritance diagram for SetEntityActiveEvent:
Events::Event

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...
 

Detailed Description

Class for set entity active event.

Constructor & Destructor Documentation

SetEntityActiveEvent::SetEntityActiveEvent ( const bool  active)
inline

Constructor for SetEntityActiveEvent.

Parameters
[in]activeTrue if active

Member Function Documentation

static std::shared_ptr<SetEntityActiveEvent> SetEntityActiveEvent::create ( const bool  active)
inlinestatic

Factory function.

Parameters
[in]activeThe active
Returns
Newly created SetEntityActiveEvent

Referenced by generated::getSetEntityActiveEventModule(), and Graphics::UI::QuitButton::onLeftClick().

bool SetEntityActiveEvent::getActive ( ) const
inlinenoexcept

Gets active.

Returns
True if active

Referenced by generated::getSetEntityActiveEventModule().


The documentation for this class was generated from the following file: