From f776df6076725d14679b31168e3ede53c966182e Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 31 Oct 2017 22:11:18 +0000 Subject: renaming base folder --- yage/core/resourcemanager.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 yage/core/resourcemanager.cpp (limited to 'yage/core/resourcemanager.cpp') diff --git a/yage/core/resourcemanager.cpp b/yage/core/resourcemanager.cpp new file mode 100644 index 00000000..f3f9aa20 --- /dev/null +++ b/yage/core/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