12 void SetName(
const std::string& name) { m_name = name; }
13 void SetDescription(
const std::string& desc) { m_description = desc; }
14 void SetState(
unsigned int state) { m_state = state; }
15 void SetFlags(
unsigned int iFlags) { m_iFlags = iFlags; }
16 void SetHasPassword(
bool pass) { hasPassword = pass; }
17 [[nodiscard]] std::string Name()
const {
return m_name; }
18 [[nodiscard]] std::string Description()
const {
return m_description; }
19 [[nodiscard]]
unsigned int State()
const {
return m_state; }
20 [[nodiscard]]
bool HasPassword()
const {
return hasPassword; }
21 [[nodiscard]]
unsigned int GetFlags()
const {
return m_iFlags; }
29 std::vector<std::string> players;
33 std::string m_description;
35 unsigned int m_iFlags;
36 bool hasPassword{
false };
An actor that holds a Font and draws text to the screen.
Definition BitmapText.h:11