diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-10 13:40:42 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-10 13:40:42 +0100 |
commit | d80c98ee03e59e0c38e025a7fe83ab4c39115fb8 (patch) | |
tree | c31c861b82d384e64071b4e7f64dfafe99b888c0 /src/crepe/api/Text.h | |
parent | b2c72ee8ce282bb13b0fbeb2ddb01fdfd6ad1280 (diff) | |
parent | 7a8657dfe019104aced61a5b63e63f61ad919f7a (diff) |
font progress
Diffstat (limited to 'src/crepe/api/Text.h')
-rw-r--r-- | src/crepe/api/Text.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/crepe/api/Text.h b/src/crepe/api/Text.h new file mode 100644 index 0000000..5c527af --- /dev/null +++ b/src/crepe/api/Text.h @@ -0,0 +1,12 @@ +#pragma once + +#include "Asset.h" +#include "../Component.h" +class Text : public Component{ +public: + Text(game_object_id_t id, const Asset & font, int font_size); + + int font_size = 16; + const Asset source; +private: +}; |