Pictel 2d 0.1
Game Engine Documentation
Public Member Functions | List of all members
engine::FontManagerI Class Referenceabstract

Public Member Functions

virtual FontILoadFont (std::string fntFilename, std::string fontTexture)=0
 
virtual void DisposeAllFonts ()=0
 

Member Function Documentation

◆ DisposeAllFonts()

virtual void engine::FontManagerI::DisposeAllFonts ( )
pure virtual

Unload all fonts. Be sure that you're no longer using them.

◆ LoadFont()

virtual FontI * engine::FontManagerI::LoadFont ( std::string  fntFilename,
std::string  fontTexture 
)
pure virtual

Load a specified fitmap font by providing the name of the .fnt file and the texture. If the font was previously loaded, uses the GetFont function instead. Otherwise loads new.