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
9
#pragma once
10
11
#include "
texturecache.h
"
12
13
#include <string>
14
15
namespace
yage
16
{
17
18
struct
Texture;
19
20
class
ResourceManager
21
{
22
private
:
23
static
TextureCache
texture_cache_;
24
25
public
:
26
static
Texture
getTexture
(
const
std::string &texture_path,
int
x = 1,
27
int
y = 1);
28
};
29
30
}
// namespace yage
yage::ResourceManager
Definition:
resourcemanager.h:20
texturecache.h
yage::Texture
Definition:
texture.h:16
yage::TextureCache
Definition:
texturecache.h:18
yage::ResourceManager::getTexture
static Texture getTexture(const std::string &texture_path, int x=1, int y=1)
Definition:
resourcemanager.cpp:17
Generated on Sat Jun 2 2018 15:03:19 by
1.8.6