Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Graphics::UI::ChangeTextEvent Class Reference

Class for change text event. More...

#include <change_text_event.h>

Inheritance diagram for Graphics::UI::ChangeTextEvent:
Events::Event

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

Detailed Description

Class for change text event.

Constructor & Destructor Documentation

Graphics::UI::ChangeTextEvent::ChangeTextEvent ( const std::string &  text)
inline

ChangeTextEvent constructor.

Parameters
[in]textThe text

Member Function Documentation

static std::shared_ptr<ChangeTextEvent> Graphics::UI::ChangeTextEvent::create ( const std::string &  text)
inlinestatic
std::string Graphics::UI::ChangeTextEvent::getText ( ) const
inlinenoexcept

Gets the text.

Returns
The text.

Referenced by generated::getChangeTextEventModule().


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