|
stmm-games-doc
0.32.0
|
Interface used to animate tiles of board and level blocks. More...
Public Member Functions | |
| virtual | ~TileAnimator () noexcept=default |
Static Public Attributes | |
| static constexpr double | s_fInactiveElapsed = -1.0 |
| Unary elapsed meaning inactive tile animation. More... | |
Protected Member Functions | |
| virtual double | getElapsed01 (int32_t nHash, int32_t nX, int32_t nY, int32_t nAni, int32_t nViewTick, int32_t nTotTicks) const noexcept=0 |
| Get unary elapsed of a board tile animation at a view tick. More... | |
| virtual double | getElapsed01 (int32_t nHash, const LevelBlock &oLevelBlock, int32_t nBrickIdx, int32_t nAni, int32_t nViewTick, int32_t nTotTicks) const noexcept=0 |
| Get unary elapsed of a block brick tile animation at a view tick. More... | |
Interface used to animate tiles of board and level blocks.
|
virtualdefaultnoexcept |
|
protectedpure virtualnoexcept |
Get unary elapsed of a board tile animation at a view tick.
| nHash | The value passed to Level::boardSetTileAnimator(). |
| nX | The x cell on the board. |
| nY | The y cell on the board. |
| nAni | Index into Named::tileAnis(). |
| nViewTick | The view tick. Must be >= 0 and < nTotTicks. |
| nTotTicks | The total number of view ticks. |
|
protectedpure virtualnoexcept |
Get unary elapsed of a block brick tile animation at a view tick.
| nHash | The value passed to LevelBlock::blockSetTileAnimator(). |
| oLevelBlock | The level block. |
| nBrickIdx | The brick number. Must be positive. |
| nAni | Index into Named::tileAnis(). |
| nViewTick | The view tick. Must be >= 0 and < nTotTicks. |
| nTotTicks | The total number of view ticks. |
|
static |
Unary elapsed meaning inactive tile animation.
1.8.13