stmm-games-doc  0.32.0
Public Member Functions | List of all members
stmg::ExtendedBoard Class Referenceabstract
Inheritance diagram for stmg::ExtendedBoard:
Inheritance graph
[legend]

Public Member Functions

virtual ~ExtendedBoard () noexcept=default
 
virtual const TileboardGetTile (int32_t nX, int32_t nY) const noexcept=0
 Extended board tile getter. More...
 
virtual const TileAnimatorboardGetTileAnimator (int32_t nX, int32_t nY, int32_t nIdxTileAni) const noexcept=0
 Extended board tile animator getter. More...
 

Constructor & Destructor Documentation

◆ ~ExtendedBoard()

virtual stmg::ExtendedBoard::~ExtendedBoard ( )
virtualdefaultnoexcept

Member Function Documentation

◆ boardGetTile()

virtual const Tile& stmg::ExtendedBoard::boardGetTile ( int32_t  nX,
int32_t  nY 
) const
pure virtualnoexcept

Extended board tile getter.

Parameters
nXThe x. Can e outside the level's board.
nYThe y. Can e outside the level's board.
Returns
The tile.

Implemented in stmg::ScrollerEvent.

◆ boardGetTileAnimator()

virtual const TileAnimator* stmg::ExtendedBoard::boardGetTileAnimator ( int32_t  nX,
int32_t  nY,
int32_t  nIdxTileAni 
) const
pure virtualnoexcept

Extended board tile animator getter.

Parameters
nXThe x. Can e outside the level's board.
nYThe y. Can e outside the level's board.
nIdxTileAniThe tile animation. Must be >= 0 and < Level::getNrTileAniAttrs().
Returns
The tile animator.

Implemented in stmg::ScrollerEvent.