NasNas
An intuitive and beginner friendly 2D game framework for C++
|
Base class of all DebugText classes. More...
#include <Debug.hpp>
Public Member Functions | |
virtual void | update ()=0 |
Updates DebugText values. | |
Static Public Attributes | |
static int | font_size |
set DebugText font size | |
static sf::Color | color |
set DebugText color | |
static sf::Color | outline_color |
set DebugText outline color | |
static float | outline_thickness |
set DebugText outline thickness | |
Base class of all DebugText classes.
DebugTextInterface contains static style information, such as color, outline color and outline thickness. Once you set DebugTextInterface members, they will be active for all the DebugTexts you create afterwards. For example to create a DebugText with a red outline of 1 px