#ifndef id372857FBD20C4DD2A9EDDB3A167682AA #define id372857FBD20C4DD2A9EDDB3A167682AA #include "doorkeeper/implem/maptypes.hpp" #include "doorkeeper/primitivetypes.hpp" #include #include #include namespace dk { template class BaseMapSource { public: typedef dk::Vector coords; BaseMapSource ( void ) = default; virtual ~BaseMapSource ( void ) noexcept = default; virtual void fetch ( std::vector& parOut, const coords& parFrom, const coords& parTo ) = 0; virtual const coords& mapSize ( void ) const = 0; virtual const coords& tileSize ( void ) const = 0; virtual MapTypes mapType ( void ) const = 0; virtual int layersCount ( void ) const = 0; virtual void chainedMaps ( std::vector& parOut ) const = 0; }; } //namespace dk #endif