YAGE
v0.1.4.0
Yet Another Game Engine
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
yage
core
resourcemanager.h
Go to the documentation of this file.
1
17
#ifndef RESOURCE_MANAGER_H
18
#define RESOURCE_MANAGER_H
19
20
#include "
texturecache.h
"
21
22
#include <string>
23
24
namespace
yage
25
{
26
27
struct
Texture;
28
29
class
ResourceManager
30
{
31
private
:
32
static
TextureCache
texture_cache_;
33
34
public
:
35
static
Texture
getTexture
(
const
std::string &texture_path,
int
x = 1,
36
int
y = 1);
37
};
38
39
}
// namespace yage
40
41
#endif
yage::ResourceManager
Definition:
resourcemanager.h:29
texturecache.h
yage::Texture
Definition:
texture.h:17
yage::TextureCache
Definition:
texturecache.h:19
yage::ResourceManager::getTexture
static Texture getTexture(const std::string &texture_path, int x=1, int y=1)
Definition:
resourcemanager.cpp:17
Generated on Tue Feb 13 2018 20:22:05 for YAGE by
1.8.6