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

Public Attributes

std::vector< PatternImagem_aPatternImages
 Vector of image data. More...
 
LevelAnimation::REFSYS m_eRefSys = LevelAnimation::REFSYS_BOARD
 The reference system of the position. More...
 
bool m_bScrolled = false
 Whether the background scrolls with the board. More...
 
FPoint m_oMove
 The movement at each tick in tiles. More...
 
int32_t m_nAnimationNamedIdx = -1
 The animation index as of Named::animations() or -1 if not defined. More...
 
FRect m_oRect
 The animation rectangle. More...
 
int32_t m_nZ = -500
 Animations with higher z value are drawn after (over) lower z ones. More...
 

Member Data Documentation

◆ m_aPatternImages

std::vector<PatternImage> stmg::BackgroundEvent::LocalInit::m_aPatternImages

Vector of image data.

◆ m_bScrolled

bool stmg::BackgroundEvent::LocalInit::m_bScrolled = false

Whether the background scrolls with the board.

Ignored if m_eRefSys not LevelAnimation::REFSYS_BOARD. Default: false.

◆ m_eRefSys

LevelAnimation::REFSYS stmg::BackgroundEvent::LocalInit::m_eRefSys = LevelAnimation::REFSYS_BOARD

The reference system of the position.

Default: LevelAnimation::REFSYS_BOARD.

◆ m_nAnimationNamedIdx

int32_t stmg::BackgroundEvent::LocalInit::m_nAnimationNamedIdx = -1

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

◆ m_nZ

int32_t stmg::BackgroundEvent::LocalInit::m_nZ = -500

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: -500.

◆ m_oMove

FPoint stmg::BackgroundEvent::LocalInit::m_oMove

The movement at each tick in tiles.

Default: (0,0).

◆ m_oRect

FRect stmg::BackgroundEvent::LocalInit::m_oRect

The animation rectangle.