/** --------------------------------------------------------------------------- * @file: resourcemanager.h * * Copyright (c) 2017 Yann Herklotz Grave * MIT License, see LICENSE file for more details. * ---------------------------------------------------------------------------- */ /** --------------------------------------------------------------------------- * @file: resourcemanager.h * * Copyright (c) 2017 Yann Herklotz Grave * MIT License, see LICENSE file for more details. * ---------------------------------------------------------------------------- */ #ifndef RESOURCE_MANAGER_H #define RESOURCE_MANAGER_H #include "texturecache.h" #include namespace yage { struct Texture; class ResourceManager { private: static TextureCache texture_cache_; public: static Texture getTexture(const std::string &texture_path, int x = 1, int y = 1); }; } // namespace yage #endif