aboutsummaryrefslogtreecommitdiffstats
path: root/yage/base/texturecache.h
diff options
context:
space:
mode:
Diffstat (limited to 'yage/base/texturecache.h')
-rw-r--r--yage/base/texturecache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/yage/base/texturecache.h b/yage/base/texturecache.h
index 414c9ec3..b28349ec 100644
--- a/yage/base/texturecache.h
+++ b/yage/base/texturecache.h
@@ -22,9 +22,10 @@ private:
std::unordered_map<std::string, Texture> texture_map_;
public:
- TextureCache();
+ TextureCache() = default;
Texture getTexture(const std::string &texture_path);
+ Texture getTextureFromSpriteSheet();
};
} // namespace yage