mirror of
https://github.com/Floriansylvain/SFMLplayground.git
synced 2026-08-19 19:53:25 +02:00
feat: update Ball and PhysicalObject classes to include window size/resize
This commit is contained in:
@@ -22,6 +22,7 @@ class Game {
|
||||
private:
|
||||
float m_timeScale = 1.0f;
|
||||
sf::RenderWindow m_window;
|
||||
sf::Vector2f m_windowSize;
|
||||
std::vector<std::unique_ptr<PhysicalObject>> m_objects;
|
||||
sf::Clock m_clock;
|
||||
InputManager m_inputManager;
|
||||
|
||||
Reference in New Issue
Block a user