#ifndef WORLDSCENE_HPP #define WORLDSCENE_HPP #include "Scene.hpp" #include "Map.hpp" #include class WorldScene : public Scene { public: constexpr static int ZOOM_MIN = 1; constexpr static int ZOOM_MAX = 100; constexpr static int DEFAULT_TILE_SIZE_PX = 20; WorldScene(); virtual void render(sf::RenderWindow &window); virtual void zoom(int value); virtual void pan(int dx, int dy); private: Map map; unsigned _tileSize; int _panX = 0; int _panY = 0; }; #endif