const std::string & text() const
void draw(RenderTarget &target, RenderStates states) const override
Draw the object to a render target.
void loadFromSurface(SDL_Surface *surface)
Load the texture from a SDL_Surface.
u16 height() const
Return the height of the texture.
u16 width() const
Return the width of the texture.
void setFont(const Font &font)