mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-18 09:49:21 +01:00
Add Text rendering and Hull / Fuel Meters
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user