Tileson  1.3.0
A helpful json parser for Tiled maps
Text.hpp
Go to the documentation of this file.
1 //
2 // Created by robin on 05.08.2019.
3 //
4 
5 #ifndef TILESON_TEXT_HPP
6 #define TILESON_TEXT_HPP
7 
8 #include <string>
9 
10 namespace tson
11 {
12  class Text
13  {
14  public:
15  inline Text() = default;
21  inline Text(std::string _text, bool _wrap, tson::Colori _color) : text {std::move(_text)}, wrap {_wrap}, color {_color} {};
22  //Just make it simple
23  std::string text;
25  bool wrap{};
26  };
27 }
28 
29 #endif //TILESON_TEXT_HPP
Definition: Text.hpp:13
tson::Colori color
Definition: Text.hpp:24
bool wrap
Definition: Text.hpp:25
Text()=default
Text(std::string _text, bool _wrap, tson::Colori _color)
Definition: Text.hpp:21
std::string text
Definition: Text.hpp:21
Definition: Base64.hpp:12