diff options
Diffstat (limited to 'src/main/headers/Scene.hpp')
-rw-r--r-- | src/main/headers/Scene.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/headers/Scene.hpp b/src/main/headers/Scene.hpp index 2d720a9..0e121e9 100644 --- a/src/main/headers/Scene.hpp +++ b/src/main/headers/Scene.hpp @@ -1,7 +1,10 @@ #ifndef SCENE_HPP #define SCENE_HPP +#include "Widget.hpp" + #include <SFML/Graphics.hpp> +#include <vector> class Scene { @@ -15,7 +18,7 @@ public: virtual void keyPress(const sf::Event::KeyEvent &event) {} protected: - float _zoom = 1; + std::vector<Widget> widgets; sf::RenderWindow &_window; Scene(sf::RenderWindow &window) : _window(window) {} |