AnticipationPhaseConfig
pixi-reels / index / AnticipationPhaseConfig
Interface: AnticipationPhaseConfig
Defined in: spin/phases/AnticipationPhase.ts:22
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
cells? | number | End the tease once the reel has travelled this many symbol pitches, instead of after the scripted hold. See AnticipationOptions.cells. | spin/phases/AnticipationPhase.ts:38 |
curve? | AnticipationSegment[] | Explicit speed legs, replacing the built-in decelerate-then-hold. Resolved by the controller from setAnticipation(..., { curve }), including the per-reel function form. When present, speedMultiplier is ignored and duration only decides whether the tease runs at all. | spin/phases/AnticipationPhase.ts:33 |
duration? | number | Duration override in ms. Uses speed profile anticipationDelay if not set. | spin/phases/AnticipationPhase.ts:24 |
events? | EventEmitter<ReelSetEvents> | Set-level emitter, for anticipation:segment. Passed by the controller. | spin/phases/AnticipationPhase.ts:40 |
reelIndex? | number | This reel’s index, for the events above. | spin/phases/AnticipationPhase.ts:42 |
speedMultiplier? | number | Speed multiplier during anticipation. Default: 0.3 (30% of spin speed). | spin/phases/AnticipationPhase.ts:26 |