R-Type
TextComponent.hpp
Go to the documentation of this file.
1 /*
2 ** EPITECH PROJECT, 2023
3 ** R-Type
4 ** File description:
5 ** Text
6 */
7 
8 #ifndef TEXT_HPP_
9 #define TEXT_HPP_
10 #include "utils/SfmlTypes.hpp"
11 #include "utils/Vector.hpp"
12 #include <string>
13 
14 namespace GameEngine
15 {
17  {
18  std::string str;
19  std::string fontPath;
20  size_t size;
22  bool isRendered;
23  size_t renderLayer;
24  };
25 } // namespace GameEngine
26 
27 #endif /* !TEXT_HPP_ */
Class representing a text wrapper for sf::Text with basic functionality.
Definition: SfmlTypes.hpp:224
Definition: AssetManager.hpp:15
Definition: TextComponent.hpp:17
size_t size
Definition: TextComponent.hpp:20
Text text
Definition: TextComponent.hpp:21
std::string str
Definition: TextComponent.hpp:18
bool isRendered
Definition: TextComponent.hpp:22
std::string fontPath
Definition: TextComponent.hpp:19
size_t renderLayer
Definition: TextComponent.hpp:23