summaryrefslogtreecommitdiff
path: root/src/graphics/textureFont.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/textureFont.h')
-rw-r--r--src/graphics/textureFont.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/graphics/textureFont.h b/src/graphics/textureFont.h
index aa89e50..5e78f9e 100644
--- a/src/graphics/textureFont.h
+++ b/src/graphics/textureFont.h
@@ -3,7 +3,7 @@
#include<string>
#include<array>
-#include"SFML/Graphics.hpp"
+#include<SFML/Graphics.hpp>
namespace Graphics {
class TextureFont {
@@ -23,16 +23,6 @@ namespace Graphics {
const sf::Texture *getTexture();
};
- class Text : public sf::Drawable, public sf::Transformable {
- private:
- TextureFont &font_;
- const std::string text_;
- sf::VertexArray vertices_;
- public:
- Text(TextureFont &font, const std::string &text);
- virtual void draw(sf::RenderTarget& target,
- sf::RenderStates states) const override;
- };
}
#endif // GRAPHICS_FONT_H