My Project
Client
Source
Component
CText.hpp
1
/*
2
** EPITECH PROJECT, 2022
3
** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4
** File description:
5
** Text
6
*/
7
8
#ifndef CTEXT_HPP_
9
#define CTEXT_HPP_
10
11
#include <string>
12
16
namespace
component
{
20
typedef
struct
ctext_s
{
21
std::string
text
;
22
std::string
font
;
23
float
spacing
;
24
}
ctext_t
;
25
}
26
27
#endif
/* !CTEXT_HPP_ */
component::ctext_s::spacing
float spacing
size of the text to print (of the font)
Definition:
CText.hpp:23
component
Namespace for all components.
Definition:
CDamage.hpp:14
component::ctext_s::text
std::string text
Text to print.
Definition:
CText.hpp:21
component::ctext_s::font
std::string font
Font of the text.
Definition:
CText.hpp:22
component::ctext_t
struct component::ctext_s ctext_t
A structure representing the text component to add text and font to an entity.
component::ctext_s
A structure representing the text component to add text and font to an entity.
Definition:
CText.hpp:20
Generated by
1.8.17