Nymph Game Engine
Chaiscript based Game Engine
|
Class for debug command event. More...
#include <debug_command_event.h>
Public Member Functions | |
DebugCommandEvent (const std::string debug_command) | |
DebugCommandEvent constructor. More... | |
std::string | getDebugCommand () const noexcept |
Gets the debug command. 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 < DebugCommandEvent > | create (const std::string debug_command) |
Factory function. More... | |
Class for debug command event.
|
inline |
DebugCommandEvent constructor.
[in] | debug_command | The debug command |
|
inlinestatic |
Factory function.
[in] | debug_command | The debug command |
Referenced by Graphics::UI::TextField::onKeyDown().
|
inlinenoexcept |
Gets the debug command.