mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-18 09:49:21 +01:00
Remove Point2f, replace with Vector2f
This commit is contained in:
@@ -10,7 +10,7 @@ class Screen
|
||||
{
|
||||
public:
|
||||
Screen() = default;
|
||||
Screen(const std::string& filePath, Point2f pos, Point2f size, TextureManager* manager);
|
||||
Screen(const std::string& filePath, Vector2f pos, Vector2f size, TextureManager* manager);
|
||||
|
||||
virtual ~Screen();
|
||||
|
||||
@@ -19,8 +19,8 @@ public:
|
||||
virtual void Update(float elapsedSecs);
|
||||
virtual void Draw() const;
|
||||
private:
|
||||
Point2f m_Position;
|
||||
Point2f m_Size;
|
||||
Vector2f m_Position;
|
||||
Vector2f m_Size;
|
||||
|
||||
Texture* m_Background{ nullptr };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user