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

Public Attributes

int32_t m_nAnimationNamedIdx = -1
 The animation index as of Named::animations() or -1 if not defined. More...
 
double m_fDuration = s_fDurationUndefined
 The duration of the animation in milliseconds or s_fDurationUndefined. More...
 
FPoint m_oPos
 The initial position of the animation. More...
 
FSize m_oSize
 The initial size of the animation. More...
 
int32_t m_nZ = 100
 The initial z position (the depth). More...
 

Member Data Documentation

◆ m_fDuration

double stmg::LevelAnimation::Init::m_fDuration = s_fDurationUndefined

The duration of the animation in milliseconds or s_fDurationUndefined.

Default is s_fDurationUndefined.

◆ m_nAnimationNamedIdx

int32_t stmg::LevelAnimation::Init::m_nAnimationNamedIdx = -1

The animation index as of Named::animations() or -1 if not defined.

Default: -1.

◆ m_nZ

int32_t stmg::LevelAnimation::Init::m_nZ = 100

The initial z position (the depth).

Animations with higher z value are drawn after (over) lower z ones. Value 0 is the z of the board and shouldn't be used. Default is 100.

◆ m_oPos

FPoint stmg::LevelAnimation::Init::m_oPos

The initial position of the animation.

◆ m_oSize

FSize stmg::LevelAnimation::Init::m_oSize

The initial size of the animation.

If width is 0 means undefined.