/** --------------------------------------------------------------------------- * @file: texturecache.h * * Copyright (c) 2017 Yann Herklotz Grave * MIT License, see LICENSE file for more details. * ---------------------------------------------------------------------------- */ #pragma once #include "../data/texture.h" #include namespace yage { class TextureCache { private: std::unordered_map texture_map_; public: TextureCache() = default; Texture getTexture(const std::string &texture_path, int x = 1, int y = 1); }; } // namespace yage