mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-16 21:01:48 +01:00
Add Building, Add Hard floors
This commit is contained in:
20
Game/Levels/World/Building.h
Normal file
20
Game/Levels/World/Building.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "Texture.h"
|
||||
#include "TextureManager.h"
|
||||
|
||||
class Building
|
||||
{
|
||||
public:
|
||||
Building(const std::string& filePath, const Vector2f& position, TextureManager* pTextureManager);
|
||||
~Building();
|
||||
|
||||
void Draw() const;
|
||||
void Update(float dt);
|
||||
|
||||
|
||||
private:
|
||||
Texture* m_Texture;
|
||||
Vector2f m_Position;
|
||||
Vector2f m_Size;
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user