diff options
Diffstat (limited to 'src/crepe/api/Text.cpp')
-rw-r--r-- | src/crepe/api/Text.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/crepe/api/Text.cpp b/src/crepe/api/Text.cpp index 2e248de..9d57abd 100644 --- a/src/crepe/api/Text.cpp +++ b/src/crepe/api/Text.cpp @@ -6,10 +6,8 @@ using namespace crepe; Text::Text(game_object_id_t id, const vec2 & dimensions, const vec2 & offset, - const std::string & font_family, const Data & data, const std::string & text, - std::optional<Asset> font) + const std::string & font_family, const Data & data, const std::string & text) : UIObject(id, dimensions, offset), text(text), data(data), - font_family(font_family), - font(font) {} + font_family(font_family) {} |