YAGE
v0.1.1
Yet Another Game Engine
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
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> -- MIT License
5
* See file LICENSE for more details
6
* ----------------------------------------------------------------------------
7
*/
8
9
#ifndef RESOURCE_MANAGER_H
10
#define RESOURCE_MANAGER_H
11
12
#include "
texture.h
"
13
#include "
texturecache.h
"
14
15
#include <string>
16
17
namespace
yage
18
{
19
20
class
ResourceManager
21
{
22
private
:
23
static
TextureCache
texture_cache_
;
24
25
public
:
26
static
Texture
getTexture
(
const
std::string &texture_path);
27
};
28
29
}
// namespace yage
30
31
#endif
yage::ResourceManager::texture_cache_
static TextureCache texture_cache_
Definition:
resourcemanager.h:23
yage::ResourceManager
Definition:
resourcemanager.h:20
texturecache.h
texture.h
yage::ResourceManager::getTexture
static Texture getTexture(const std::string &texture_path)
Definition:
resourcemanager.cpp:16
yage::Texture
Definition:
texture.h:17
yage::TextureCache
Definition:
texturecache.h:19
yage
base
resourcemanager.h
Generated on Mon Sep 25 2017 20:19:15 for YAGE by
1.8.6