mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-18 11:29:21 +01:00
Add Text rendering and Hull / Fuel Meters
This commit is contained in:
@@ -6,8 +6,8 @@ Building::Building(const std::string& filePath, const Vector2f& position, Textur
|
||||
m_Texture = pTextureManager->GetTexture(filePath);
|
||||
m_Size = Vector2f(m_Texture->GetWidth(), m_Texture->GetHeight());
|
||||
}
|
||||
Building::~Building() {
|
||||
}
|
||||
Building::~Building() = default;
|
||||
|
||||
void Building::Draw() const {
|
||||
m_Texture->Draw(m_Position);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user