ST_engine  0.3-ALPHA
text.cpp
1 /* This file is part of the "ST" project.
2  * You may use, distribute or modify this code under the terms
3  * of the GNU General Public License version 2.
4  * See LICENCE.txt in the root directory of the project.
5  *
6  * Author: Maxim Atanasov
7  * E-mail: maxim.atanasov@protonmail.com
8  */
9 
10 #include <game_manager/level/text.hpp>
11 
20 ST::text::text(int32_t x, int32_t y, SDL_Color color, const std::string &text_string, uint16_t font) {
21  this->x = x;
22  this->y = y;
23  this->color = color;
24  this->text_string = text_string;
25  this->font = font;
26 }
text(int32_t x, int32_t y, SDL_Color color, const std::string &text_string, uint16_t font)
Definition: text.cpp:20