aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Text.cpp
blob: b30ccf6c35f57ee42947016ca4270115ac46fcb0 (plain)
1
2
3
4
5
6
7
8
9
#include "Text.h"

using namespace crepe;

Text::Text(game_object_id_t id, const vec2 & dimensions, const vec2 & offset, std::string text,
		   std::string font_family)
	: UIObject(id, dimensions, offset),
	  text(text),
	  font_family(font_family) {}