YAGE  v0.3.1
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
resourcemanager.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * resourcemanager.h
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com>
5  * MIT License, see LICENSE file for more details.
6  * ----------------------------------------------------------------------------
7  */
8 
9 /* ----------------------------------------------------------------------------
10  * resourcemanager.h
11  *
12  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
13  * See file LICENSE for more details
14  * ----------------------------------------------------------------------------
15  */
16 
17 #ifndef RESOURCE_MANAGER_H
18 #define RESOURCE_MANAGER_H
19 
20 #include "texture.h"
21 #include "texturecache.h"
22 
23 #include <string>
24 
25 namespace yage
26 {
27 
29 {
30 private:
32 
33 public:
34  static Texture getTexture(const std::string &texture_path);
35 };
36 
37 } // namespace yage
38 
39 #endif
static TextureCache texture_cache_
Definition: resourcemanager.h:31
Definition: resourcemanager.h:28
static Texture getTexture(const std::string &texture_path)
Definition: resourcemanager.cpp:16
Definition: texture.h:17
Definition: texturecache.h:19