pixi-reels

getTargetSlot()

pixi-reels


pixi-reels / index / getTargetSlot

Function: getTargetSlot()

function getTargetSlot(target: ColumnTarget, cell: number): string | undefined;

Defined in: frame/ColumnTarget.ts:47

Read one slot of a ColumnTarget by cell, the engine’s visible-relative coordinate: 0 is the first visible cell, negative cells address bufferStart (-1 is the slot closest to the visible top cell), and cells >= visible.length address bufferEnd.

Returns undefined for any cell the target does not specify.

Parameters#

ParameterType
targetColumnTarget
cellnumber

Returns#

string | undefined