#ifndef SCENE_HPP #define SCENE_HPP #include class Scene { public: enum Type { WORLD, MENU }; const Type type; 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: float _zoom = 1; sf::RenderWindow &_window; Scene(sf::RenderWindow &window, Type _type) : type(_type), _window(window) {} }; #endif