YAGE  0.02
Yet Another Game Engine
resourcemanager.hpp
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * resourcemanager.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef RESOURCE_MANAGER_HPP
10 #define RESOURCE_MANAGER_HPP
11 
12 #include "texture.hpp"
13 #include "texturecache.hpp"
14 
15 #include <string>
16 
17 namespace yage {
18 
20 private:
22 
23 public:
24  static Texture getTexture(const std::string& texture_path);
25 };
26 
27 } // yage
28 
29 #endif
static TextureCache texture_cache_
Definition: resourcemanager.hpp:21
Definition: resourcemanager.hpp:19
static Texture getTexture(const std::string &texture_path)
Definition: resourcemanager.cpp:15
Definition: texture.hpp:16
Definition: texturecache.hpp:18
Templated matrix class.
Definition: camera2d.hpp:17