1#ifndef SpriteFontManagerAttorney_H
2#define SpriteFontManagerAttorney_H
4#include "../GameObject/Sprites/SpriteFont.h"
5#include "SpriteFontManager.h"
27 friend class SpriteFontManager;
28 friend class SpriteString;
30 static SpriteFont* Constructor(MapKey key, std::string path) {
return new SpriteFont(key, path); };
31 static void Destructor(
SpriteFont* ptr) {
delete ptr; };
45 friend class SUNENGINE;
Represents a font in the SUNENGINE.
Definition SpriteFont.h:19
Glyph * GetGlyph(char c)
Gets the glyph for a character.
Definition SpriteFont.cpp:26
SUNENGINESprite Glyph
Glyph type for the SpriteFont.
Definition SpriteFont.h:31
Provides access to the game loop related functions of SpriteFontManager.
Definition SpriteFontManagerAttorney.h:25
Provides access to the initialization and destruction related functions of SpriteFontManager.
Definition SpriteFontManagerAttorney.h:43
Provides access to the SpriteFontManager's private methods for specific classes.
Definition SpriteFontManagerAttorney.h:15
static void Delete()
Deletes the singleton instance of the SpriteFontManager.
Definition SpriteFontManager.h:92