![]() |
Gamedev Framework (gf)
0.5.0
A C++11 framework for 2D games
|
A resource manager. More...
#include <gf/ResourceManager.h>

Public Member Functions | |
| ResourceManager () | |
| Default constructor. More... | |
| Texture & | getTexture (const Path &path) |
| Get a texture. More... | |
| Font & | getFont (const Path &path) |
| Get a font. More... | |
Public Member Functions inherited from gf::AssetManager | |
| void | addSearchDir (Path path) |
| Add a search directory. More... | |
| Path | getAbsolutePath (const Path &relativePath) const |
| Search a file in the search directories. More... | |
A resource manager.
| gf::ResourceManager::ResourceManager | ( | ) |
Default constructor.
Get a font.
| path | A path to the font |
| std::runtime_error | If the font is not found |
1.8.13