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.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 yage/base/resourcemanager.cpp (limited to 'yage/base/resourcemanager.cpp') diff --git a/yage/base/resourcemanager.cpp b/yage/base/resourcemanager.cpp new file mode 100644 index 00000000..f3f9aa20 --- /dev/null +++ b/yage/base/resourcemanager.cpp @@ -0,0 +1,21 @@ +/* ---------------------------------------------------------------------------- + * resourcemanager.cpp + * + * Copyright (c) 2017 Yann Herklotz Grave -- MIT License + * See file LICENSE for more details + * ---------------------------------------------------------------------------- + */ + +#include + +namespace yage +{ + +TextureCache ResourceManager::texture_cache_; + +Texture ResourceManager::getTexture(const std::string &texture_path) +{ + return texture_cache_.getTexture(texture_path); +} + +} // namespace yage -- cgit