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

Class for set active event. More...

#include <set_active_event.h>

Inheritance diagram for SetActiveEvent:
Events::Event

Public Member Functions

 SetActiveEvent (const bool active)
 Constructs a SetActiveEvent. 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
< SetActiveEvent
create (const bool active)
 Factory function. More...
 

Detailed Description

Class for set active event.

Constructor & Destructor Documentation

SetActiveEvent::SetActiveEvent ( const bool  active)
inline

Constructs a SetActiveEvent.

Parameters
[in]activeTrue if active

Member Function Documentation

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

Factory function.

Parameters
[in]activeTrue if active
Returns
Newly constructed SetActiveEvent

Referenced by generated::getSetActiveEventModule().

bool SetActiveEvent::getActive ( ) const
inlinenoexcept

Gets active.

Returns
True if active

Referenced by generated::getSetActiveEventModule().


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