Manages the loading and retrieval of SpriteFont objects.
More...
#include <SpriteFontManager.h>
|
static const MapKey | defaultSpriteFont = AssetDefaults::DefaultSpriteFontKey |
| Default key for the default SpriteFont.
|
|
|
const std::string | defaultPath |
| Default path for SpriteFont files.
|
|
std::map< MapKey, SpriteFont * > | FontMap |
| Map of keys to SpriteFont pointers.
|
|
const float | defaultX = 0 |
| Default x-coordinate for SpriteFont glyphs.
|
|
const float | defaultY = 0 |
| Default y-coordinate for SpriteFont glyphs.
|
|
const float | defaultW = 1 |
| Default width for SpriteFont glyphs.
|
|
const float | defaultH = 1 |
| Default height for SpriteFont glyphs.
|
|
|
class | SpriteFontManagerAttorney |
|
Manages the loading and retrieval of SpriteFont objects.
The SpriteFontManager class is responsible for managing the loading and retrieval of SpriteFont objects. It provides methods to load SpriteFonts from files and retrieve them by key.
◆ Get()
static SpriteFont * SpriteFontManager::Get |
( |
MapKey | key | ) |
|
|
inlinestatic |
◆ Load()
static void SpriteFontManager::Load |
( |
MapKey | key, |
|
|
std::string | path ) |
|
inlinestatic |
The documentation for this class was generated from the following files: