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

Public Attributes

Tile m_oTile
 The tile that has to explode. More...
 
int32_t m_nLevelPlayer = -1
 The controlling player if the tile belongs to a block or -1. More...
 
- Public Attributes inherited from stmg::LevelAnimation::Init
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_nLevelPlayer

int32_t stmg::ExplosionAnimation::Init::m_nLevelPlayer = -1

The controlling player if the tile belongs to a block or -1.

Default is -1.

◆ m_oTile

Tile stmg::ExplosionAnimation::Init::m_oTile

The tile that has to explode.

Might be igored by view. Can be empty.