diff options
author | Nao Pross <naopross@thearcway.org> | 2018-02-16 21:10:24 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-02-16 21:10:24 +0100 |
commit | 1010d0d526ad7419449f19ac4db42d63f7731540 (patch) | |
tree | e037bc5f4f30ffc5324cccc9a3b018f7937c2bab /src/main/headers/Scene.hpp | |
parent | Add RangedWeapon, MeleeWeapon (diff) | |
download | Subconscious-old-1010d0d526ad7419449f19ac4db42d63f7731540.tar.gz Subconscious-old-1010d0d526ad7419449f19ac4db42d63f7731540.zip |
Add basic widget implementation (not usable) and configure cmake
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) {} |