TextRenderComponent(SDL_Color color)
Constructs a TextRenderComponent.
Definition: TextRenderComponent.cpp:6
SDL_Color color
The color of this TextRenderComponent.
Definition: TextRenderComponent.hpp:31
void ChangeText(const std::string newText)
Changes the text of this TextRenderComponent.
Definition: TextRenderComponent.cpp:16
std::shared_ptr< SDLFontWrapper > font
The font of this TextRenderComponent.
Definition: TextRenderComponent.hpp:34
A TextRenderComponent class.
Definition: TextRenderComponent.hpp:14
const std::string FONT_PATH
The font path of this TextRenderComponent.
Definition: TextRenderComponent.hpp:37