YAGE  v0.1.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 /* ----------------------------------------------------------------------------
3  * resourcemanager.h
4  *
5  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
6  * See file LICENSE for more details
7  * ----------------------------------------------------------------------------
8  */
9 
10 #ifndef RESOURCE_MANAGER_H
11 #define RESOURCE_MANAGER_H
12 
13 #include "texture.h"
14 #include "texturecache.h"
15 
16 #include <string>
17 
18 namespace yage
19 {
20 
22 {
23 private:
25 
26 public:
27  static Texture getTexture(const std::string &texture_path);
28 };
29 
30 } // namespace yage
31 
32 #endif
static TextureCache texture_cache_
Definition: resourcemanager.h:24
Definition: resourcemanager.h:21
static Texture getTexture(const std::string &texture_path)
Definition: resourcemanager.cpp:16
Definition: texture.h:17
Definition: texturecache.h:19