stmm-games-doc  0.32.0
Public Attributes | List of all members
stmg::TileAniModifier::LocalInit Struct Reference
Inheritance diagram for stmg::TileAniModifier::LocalInit:
Inheritance graph
[legend]

Public Attributes

int32_t m_nElapsedTileAniIdx = -1
 The tile animation that determines the image to show. More...
 
double m_fDefaultElapsed = -1.0
 The default elapsed value. More...
 
bool m_bInvert = false
 Whether the tile animation should be inverted. More...
 
shared_ptr< Imagem_refImg
 The default image. More...
 
shared_ptr< TileAnim_refTileAni
 The theme's image tile ani. More...
 

Member Data Documentation

◆ m_bInvert

bool stmg::TileAniModifier::LocalInit::m_bInvert = false

Whether the tile animation should be inverted.

Default is false.

◆ m_fDefaultElapsed

double stmg::TileAniModifier::LocalInit::m_fDefaultElapsed = -1.0

The default elapsed value.

From 0.0 to 1.0 or -1.0 if not defined.

◆ m_nElapsedTileAniIdx

int32_t stmg::TileAniModifier::LocalInit::m_nElapsedTileAniIdx = -1

The tile animation that determines the image to show.

Default -1 (undefined).

◆ m_refImg

shared_ptr<Image> stmg::TileAniModifier::LocalInit::m_refImg

The default image.

Can be null.

◆ m_refTileAni

shared_ptr<TileAni> stmg::TileAniModifier::LocalInit::m_refTileAni

The theme's image tile ani.

Can be null.