#ifndef SCENE_HPP #define SCENE_HPP #include "Widget.hpp" #include #include class Scene { public: Scene() = delete; virtual void render() = 0; virtual void resize(const sf::Event::SizeEvent &size) = 0; virtual void click(const sf::Event::MouseButtonEvent &click) {} virtual void keyPress(const sf::Event::KeyEvent &event) {} protected: std::vector widgets; sf::RenderWindow &_window; Scene(sf::RenderWindow &window) : _window(window) {} }; #endif