|
R-Type
|
Class representing a font wrapper for sf::Font. More...
#include <SfmlTypes.hpp>
Public Member Functions | |
| Font () | |
| Default constructor for Font. More... | |
| ~Font ()=default | |
| Destructor for Font. More... | |
| const sf::Font & | getFont () const override |
| Returns the wrapped sf::Font. More... | |
| void | load (const std::string &filename) override |
| Loads the font from a file. More... | |
Public Member Functions inherited from GameEngine::IFont< sf::Font > | |
| ~IFont ()=default | |
| Destructor. More... | |
Class representing a font wrapper for sf::Font.
|
inline |
Default constructor for Font.
|
default |
Destructor for Font.
|
inlineoverridevirtual |
Returns the wrapped sf::Font.
Implements GameEngine::IFont< sf::Font >.
|
inlineoverridevirtual |
Loads the font from a file.
| filename | The path to the font file |
Implements GameEngine::IFont< sf::Font >.