AnticipationCells
pixi-reels / index / AnticipationCells
Type Alias: AnticipationCells
type AnticipationCells = number | ((order: number, total: number) => number);
Defined in: config/types.ts:227
How far a tease runs, in symbol pitches.
Takes the same function form as AnticipationCurve, and for the same
reason: the last reel of a sweep usually wants to run further than the first,
and one number cannot say that. order is the reel’s place in the
anticipation set, total is how many are teasing.
Example#
// One more symbol of travel per reel across the sweep.
cells: (order) => 2 + order