From 1a8ec165031af3b860028ef1b360acc8e7baf9e6 Mon Sep 17 00:00:00 2001 From: TravisBot <> Date: Thu, 21 Sep 2017 23:32:46 +0000 Subject: Rebuilding documentation --- yage/base/resourcemanager.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 yage/base/resourcemanager.h (limited to 'yage/base/resourcemanager.h') diff --git a/yage/base/resourcemanager.h b/yage/base/resourcemanager.h new file mode 100644 index 00000000..3c5081c4 --- /dev/null +++ b/yage/base/resourcemanager.h @@ -0,0 +1,31 @@ +/* ---------------------------------------------------------------------------- + * resourcemanager.h + * + * Copyright (c) 2017 Yann Herklotz Grave -- MIT License + * See file LICENSE for more details + * ---------------------------------------------------------------------------- + */ + +#ifndef RESOURCE_MANAGER_H +#define RESOURCE_MANAGER_H + +#include "texture.h" +#include "texturecache.h" + +#include + +namespace yage +{ + +class ResourceManager +{ +private: + static TextureCache texture_cache_; + +public: + static Texture getTexture(const std::string &texture_path); +}; + +} // namespace yage + +#endif -- cgit