|
Nymph Game Engine
Chaiscript based Game Engine
|
#include <toggle_lights_event.h>
Public Member Functions | |
| ToggleLightsEvent (const bool on) | |
| ToggleLightsEvent constructor. More... | |
| bool | turnOn () const noexcept |
| Turn the lights on? 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 < ToggleLightsEvent > | create (const bool on) |
| Factory function. More... | |
|
inline |
ToggleLightsEvent constructor.
| [in] | on | Turn the lights on? |
|
inlinestatic |
Factory function.
| [in] | on | Turn the lights on? |
Referenced by generated::getToggleLightsEventModule(), and Utility::DebugParser::parseCommand().
|
inlinenoexcept |