// // Created by trotfunky on 06/06/19. // #ifndef SRC_LEVEL_H #define SRC_LEVEL_H #include #include #include #include #include "Utils.h" #include "Entity.h" using TextureStore = std::vector>; class Level { public: Level(const pugi::xml_document& xmlDoc, const TextureStore& textureStore); void render(sf::RenderWindow& renderWindow) const; void runStep(); private: const sf::Vector2i size; std::vector entities; const TextureStore& textures; }; #endif //SRC_LEVEL_H