Nymph Game Engine
Chaiscript based Game Engine
|
Class for change text event. More...
#include <change_text_event.h>
Public Member Functions | |
ChangeTextEvent (const std::string &text) | |
ChangeTextEvent constructor. More... | |
std::string | getText () const noexcept |
Gets the text. 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 < ChangeTextEvent > | create (const std::string &text) |
ChangeTextEvent factory function. More... | |
Class for change text event.
|
inline |
ChangeTextEvent constructor.
[in] | text | The text |
|
inlinestatic |
ChangeTextEvent factory function.
[in] | text | The text |
Referenced by Utility::FPSCounter::assessCountAndGetDelta(), generated::getChangeTextEventModule(), Graphics::Camera::onStart(), and Graphics::Camera::onUpdate().
|
inlinenoexcept |