aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Text.cpp')
-rw-r--r--src/crepe/api/Text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Text.cpp b/src/crepe/api/Text.cpp
index dd44dd9..12d01f1 100644
--- a/src/crepe/api/Text.cpp
+++ b/src/crepe/api/Text.cpp
@@ -2,5 +2,5 @@
using namespace crepe;
-Text::Text(game_object_id_t id,const vec2 & dimensions, const vec2 & offset, const Asset & font) : UIObject(id,dimensions,offset),source(font){}
+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){}