#ifndef SCENE_HPP #define SCENE_HPP #include class Scene { public: constexpr static float MAX_ZOOM = 10; constexpr static float MIN_ZOOM = .1; virtual void render() = 0; virtual void resize(const sf::Event::SizeEvent &size) = 0; virtual void zoom(float factor) {} protected: float _zoom = 1; sf::RenderWindow &_window; Scene(sf::RenderWindow &window) : _window(window) {} }; #endif