Add Text rendering and Hull / Fuel Meters

This commit is contained in:
Bram Verhulst
2024-05-16 02:04:36 +02:00
parent 600050c198
commit 8866f33c09
18 changed files with 286 additions and 118 deletions

View File

@@ -13,11 +13,14 @@ public:
void Draw(const Vector2f& pos) const;
void ChangeText(const std::string& text);
private:
std::string m_Text;
std::string m_FontPath;
int m_Size;
Color4f m_Color;
Texture* m_Texture;
bool m_IsCreatedOk{ false };