| 
    ST_engine
    0.3-ALPHA
    
   | 
 
This struct represents text objects in the game. More...
#include <text.hpp>
Public Member Functions | |
| text (int32_t x, int32_t y, SDL_Color color, const std::string &text_string, uint16_t font) | |
Public Attributes | |
| std::string | text_string | 
| int32_t | x | 
| int32_t | y | 
| SDL_Color | color {} | 
| uint16_t | font | 
| bool | is_visible = true | 
| uint8_t | padding {} | 
This struct represents text objects in the game.
It is used for any user-defined or game-specific text. (So not the fps counter, console text, etc.).
| ST::text::text | ( | int32_t | x, | 
| int32_t | y, | ||
| SDL_Color | color, | ||
| const std::string & | text_string, | ||
| uint16_t | font | ||
| ) |