aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Text.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-17 15:14:32 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-17 15:14:32 +0100
commite1e7ead5df44383c78c8da65fc5916be13d111b6 (patch)
treedfe2118fef4c12ad0d233710f8ad938623b91451 /src/crepe/api/Text.cpp
parentc3c565f7c8d1e7e9899b8c2fbb1c313a45e4b10b (diff)
feedback changes
Diffstat (limited to 'src/crepe/api/Text.cpp')
-rw-r--r--src/crepe/api/Text.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/crepe/api/Text.cpp b/src/crepe/api/Text.cpp
index 58dc6c6..6c632f3 100644
--- a/src/crepe/api/Text.cpp
+++ b/src/crepe/api/Text.cpp
@@ -5,10 +5,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){}