|
| Text (const TextParams ¶ms) |
|
LoadState | Load (SDL_Renderer *renderer) override |
|
void | Render (SDL_Renderer *renderer) override |
|
void | SetText (const std::string &text) |
|
void | SetTextFast (const std::string &text) |
|
void | SetTextAndColor (const std::string &text, const SDL_Color &color) |
|
void | SetColor (const SDL_Color &color) |
|
void | SetMask (const Rectangle &mask) |
|
void | Clean () override |
|
const SDL_Color & | GetColor () const |
|
TTF_Font * | GetFont () const |
|
const std::string & | GetText () const |
|
| IGameObject () |
|
virtual void | Update () |
|
LoadState | GetLoadState () const |
|
void | SetLoadState (const LoadState newState) |
|
bool | IsShown () const |
|
virtual void | Show (const bool show) |
|
int32_t | GetZ () const |
|
void | Destroy () |
|
bool | DestructionWanted () const |
|
|
std::string | _text |
|
LoadState | _loadState |
|
bool | _shown |
|
int32_t | _z |
|
◆ Clean()
void JadeEngine::Text::Clean |
( |
| ) |
|
|
overridevirtual |
Triggered when the game object is about to be destroyed or reset.
All resources belonging solely to the game object, such as textures, should be released at this point. The game object instance itself may or may not be destroyed after this callback.
Reimplemented from JadeEngine::IGameObject.
◆ Load()
LoadState JadeEngine::Text::Load |
( |
SDL_Renderer * |
renderer | ) |
|
|
overridevirtual |
◆ Render()
void JadeEngine::Text::Render |
( |
SDL_Renderer * |
renderer | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- include/Text.h
- source/Text.cpp