ReelLandingContext
pixi-reels
pixi-reels / index / ReelLandingContext
Interface: ReelLandingContext
Defined in: config/types.ts:683
What a symbol is told about where it landed. Handed to
ReelSymbol.onReelLanded(ctx) by the engine on every landing path, so a
symbol can decide what its landing beat is on THIS reel and cell - or that
it has none here - without the game reaching into the reel to find out.
Properties#
| Property | Type | Description | Defined in |
|---|
cell | number | 0-based visible cell the symbol landed in (0 = the reel’s first visible cell). | config/types.ts:689 |
reelCount | number | Reels in the set. 1 for a Hold & Win cell (each cell is its own set). | config/types.ts:687 |
reelIndex | number | Index of the reel that landed. | config/types.ts:685 |
symbolId | string | The id the symbol shows. | config/types.ts:693 |
visibleCells | number | Visible cells on this reel. Varies per reel on a pyramid / MultiWays set. | config/types.ts:691 |