Middle Europe Productions Library  alpha 1.3.3
Public Member Functions | List of all members
MEP::Font Class Reference

#include <Font.h>

Public Member Functions

 Font (U_int32 ID, const std::string &name, const std::string &path)
 
U_int32 getID () const
 
const std::string & getName () const
 
sf::Font & getFont ()
 

Constructor & Destructor Documentation

◆ Font()

MEP::Font::Font ( U_int32  ID,
const std::string &  name,
const std::string &  path 
)
inline

Constructor of a Font

Parameters
[in]ID: Unique ID of an object.
[in]name: Name of an objects. (Last part of the directory ex. Font.ttf).
[in]path: Path of the font. (End it with ).

Member Function Documentation

◆ getFont()

sf::Font& MEP::Font::getFont ( )
inline

Outputs the sf::Font.

◆ getID()

U_int32 MEP::Font::getID ( ) const
inline

Outputs the ID.

◆ getName()

const std::string& MEP::Font::getName ( ) const
inline

Outputs the name.