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

Public Attributes

NPoint m_oInitPos
 The initial position of the squarsor. More...
 
NRect m_oArea
 The board area the squarsor is allowed to move in. More...
 
int32_t m_nTicksToLive = -1
 Game ticks after which the squarsor (LevelBlock) is removed. More...
 
int32_t m_nLevelTeam = -1
 The level team that can take control of the squarsor or -1 if any. More...
 
bool m_bReleaseOnKeyPress = false
 Whether a button is immediately released after it was pressed. More...
 

Member Data Documentation

◆ m_bReleaseOnKeyPress

bool stmg::SquarsorEvent::LocalInit::m_bReleaseOnKeyPress = false

Whether a button is immediately released after it was pressed.

Default is false.

◆ m_nLevelTeam

int32_t stmg::SquarsorEvent::LocalInit::m_nLevelTeam = -1

The level team that can take control of the squarsor or -1 if any.

Default is -1.

◆ m_nTicksToLive

int32_t stmg::SquarsorEvent::LocalInit::m_nTicksToLive = -1

Game ticks after which the squarsor (LevelBlock) is removed.

Default is -1 (means never).

◆ m_oArea

NRect stmg::SquarsorEvent::LocalInit::m_oArea

The board area the squarsor is allowed to move in.

◆ m_oInitPos

NPoint stmg::SquarsorEvent::LocalInit::m_oInitPos

The initial position of the squarsor.

Must be within m_oArea. Default (0,0).