From 460d9bda5f03c5da29864fa9dd160848097be51b Mon Sep 17 00:00:00 2001 From: TravisBot <> Date: Sat, 6 Jan 2018 11:36:50 +0000 Subject: [Travis] Rebuilding documentation --- texturecache_8h_source.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'texturecache_8h_source.html') diff --git a/texturecache_8h_source.html b/texturecache_8h_source.html index 709aca96..7f2d0601 100644 --- a/texturecache_8h_source.html +++ b/texturecache_8h_source.html @@ -112,7 +112,7 @@ $(document).ready(function(){initNavTree('texturecache_8h_source.html','');});
9 #ifndef TEXTURE_CACHE_H
10 #define TEXTURE_CACHE_H
11 
-
12 #include "texture.h"
+
12 #include "../data/texture.h"
13 
14 #include <unordered_map>
15 
@@ -122,32 +122,30 @@ $(document).ready(function(){initNavTree('texturecache_8h_source.html','');});
19 class TextureCache
20 {
21 private:
-
22  std::unordered_map<std::string, Texture> texture_map_;
+
22  std::unordered_map<std::string, Texture> texture_map_;
23 
24 public:
25  TextureCache() = default;
26 
-
27  Texture getTexture(const std::string &texture_path);
+
27  Texture getTexture(const std::string &texture_path, int x = 1, int y = 1);
28  Texture getTextureFromSpriteSheet();
29 };
30 
31 } // namespace yage
32 
33 #endif
-
yage::TextureCache::getTexture
Texture getTexture(const std::string &texture_path)
Definition: texturecache.cpp:16
-
yage::TextureCache::texture_map_
std::unordered_map< std::string, Texture > texture_map_
Definition: texturecache.h:22
-
texture.h
yage::TextureCache::TextureCache
TextureCache()=default
yage::Texture
Definition: texture.h:17
yage::TextureCache::getTextureFromSpriteSheet
Texture getTextureFromSpriteSheet()
yage::TextureCache
Definition: texturecache.h:19
+
yage::TextureCache::getTexture
Texture getTexture(const std::string &texture_path, int x=1, int y=1)
Definition: texturecache.cpp:16