stmm-games-doc  0.32.0
Public Types | Public Member Functions | List of all members
stmg::TileFont Class Reference
Inheritance diagram for stmg::TileFont:
Inheritance graph
[legend]

Public Types

enum  { CHAR_FONT_INDEX_MIN = 0, CHAR_FONT_INDEX_MAX = ((1 << 8) - 2) }
 The font index limits into Named::fonts(). More...
 

Public Member Functions

 TileFont () noexcept
 
bool isEmpty () const noexcept
 
void clear ()
 
bool operator== (const TileFont &oTileFont) const noexcept
 
int32_t getFontIndex () const noexcept
 
void setFontIndex (int32_t nFontIndex) noexcept
 
void dump () const noexcept
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

The font index limits into Named::fonts().

Enumerator
CHAR_FONT_INDEX_MIN 
CHAR_FONT_INDEX_MAX 

Constructor & Destructor Documentation

◆ TileFont()

stmg::TileFont::TileFont ( )
inlinenoexcept

Member Function Documentation

◆ clear()

void stmg::TileFont::clear ( )
inline

◆ dump()

void stmg::TileFont::dump ( ) const
inlinenoexcept

◆ getFontIndex()

int32_t stmg::TileFont::getFontIndex ( ) const
inlinenoexcept

◆ isEmpty()

bool stmg::TileFont::isEmpty ( ) const
inlinenoexcept

◆ operator==()

bool stmg::TileFont::operator== ( const TileFont oTileFont) const
inlinenoexcept

◆ setFontIndex()

void stmg::TileFont::setFontIndex ( int32_t  nFontIndex)
inlinenoexcept