Add more ores

Add weighted random distribution
This commit is contained in:
Bram Verhulst
2024-04-22 22:34:29 +02:00
parent e578a77d84
commit e75b80eea8
25 changed files with 198 additions and 94 deletions

View File

@@ -6,15 +6,19 @@ class Building
{
public:
Building(const std::string& filePath, const Vector2f& position, TextureManager* pTextureManager);
Building(const Building& other) = delete;
Building(Building&& other) = delete;
~Building();
void Draw() const;
void Update(float dt);
private:
Texture* m_Texture;
Vector2f m_Position;
Vector2f m_Size;
Rectf m_boundingBox;
};