28 std::shared_ptr<TiledTileset>
GetTileset(
const std::string& filepath);
31 void AddTileset(
const std::string& filepath, std::shared_ptr<TiledTileset> tileset);
37 bool HasTileset(
const std::string& filepath)
const;
45 std::map<std::string, std::shared_ptr<TiledTileset>>
cache_;
std::map< std::string, std::shared_ptr< TiledTileset > > cache_
TilesetCache & operator=(const TilesetCache &)=delete
TilesetCache(const TilesetCache &)=delete
std::shared_ptr< TiledTileset > GetTileset(const std::string &filepath)
void AddTileset(const std::string &filepath, std::shared_ptr< TiledTileset > tileset)
bool HasTileset(const std::string &filepath) const
static TilesetCache & GetInstance()