TmpMenu/src/lua/bindings/gui/base_text_element.cpp
maybegreat48 03c1a96b67 Lua Scripting (#1334)
Closes #83
Fixes #1309
Fixes #1287
Fixes #1129 (actually fixed now)
2023-06-06 09:40:40 +02:00

19 lines
289 B
C++

#include "base_text_element.hpp"
namespace lua::gui
{
base_text_element::base_text_element(std::string text) :
m_text(text)
{
}
void base_text_element::set_text(std::string new_text)
{
m_text = new_text;
}
std::string base_text_element::get_text()
{
return m_text;
}
}