diff options
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: +}; |