pixi-reels

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#

PropertyTypeDescriptionDefined in
cellnumber0-based visible cell the symbol landed in (0 = the reel’s first visible cell).config/types.ts:689
reelCountnumberReels in the set. 1 for a Hold & Win cell (each cell is its own set).config/types.ts:687
reelIndexnumberIndex of the reel that landed.config/types.ts:685
symbolIdstringThe id the symbol shows.config/types.ts:693
visibleCellsnumberVisible cells on this reel. Varies per reel on a pyramid / MultiWays set.config/types.ts:691