pixi-reels

TestReelSetOptions

pixi-reels


pixi-reels / testing / TestReelSetOptions

Interface: TestReelSetOptions

Defined in: testing/testHarness.ts:10

Properties#

PropertyTypeDescriptionDefined in
bufferSymbols?| number | { end: number; start: number; }Number of symbols above + below the visible area. Defaults to the builder default.testing/testHarness.ts:52
curve?ReelCurveInputCylinder curvature for every reel. Omit for a flat set.testing/testHarness.ts:38
curveFocus?CurveFocusWhere the curve’s camera sits across the strip. Defaults to 'reel'.testing/testHarness.ts:42
curvePerReel?ReelCurveInput[]Per-reel curvature override (length must equal reels).testing/testHarness.ts:40
direction?DirectionTravel direction for every reel. Defaults to ‘forward’.testing/testHarness.ts:34
directionPerReel?Direction[]Per-reel travel direction override (length must equal reels).testing/testHarness.ts:36
gsap?typeof gsapgsap instance for this set. Pass a synchronous shim to drive tweens inline instead of waiting on a real clock. Per set, so two harnesses in one file cannot clobber each other.testing/testHarness.ts:67
initialFrame?ColumnTarget[]Initial symbol grid. Same ColumnTarget[] form as ReelSetBuilder.initialFrame.testing/testHarness.ts:61
multiways?{ maxCells: number; minCells: number; reelExtent: number; }MultiWays configuration. Mutually exclusive with visibleCells: number[]. The harness sets uniform reelExtent and forwards min/maxCells.testing/testHarness.ts:24
multiways.maxCellsnumber-testing/testHarness.ts:24
multiways.minCellsnumber-testing/testHarness.ts:24
multiways.reelExtentnumber-testing/testHarness.ts:24
orientation?OrientationStrip orientation. Defaults to ‘vertical’.testing/testHarness.ts:32
phases?(factory: PhaseFactory) => voidSame hook as ReelSetBuilder.phases(...). Register a custom or subclassed phase over a built-in for this set.testing/testHarness.ts:57
reels?number-testing/testHarness.ts:11
skipMode?SkipModeWhat a skip press does when the call does not say. See ReelSetBuilder.skipMode.testing/testHarness.ts:59
symbolData?Record<string, Partial<SymbolData>>Per-symbol overrides. useful for big-symbol size declarations in tests.testing/testHarness.ts:28
symbolGap?{ x: number; y: number; }-testing/testHarness.ts:30
symbolGap.xnumber-testing/testHarness.ts:30
symbolGap.ynumber-testing/testHarness.ts:30
symbolIds?string[]-testing/testHarness.ts:25
symbolSize?{ height: number; width: number; }-testing/testHarness.ts:29
symbolSize.heightnumber-testing/testHarness.ts:29
symbolSize.widthnumber-testing/testHarness.ts:29
tumble?TumbleConfigCascade/tumble config, same shape as ReelSetBuilder.tumble(...). Pass {} for the defaults. Without this the set spins strips instead of cascading, so a cascade test that also wants a non-default orientation / direction has to hand-roll a builder - which is exactly why the cascade suite had no axis coverage.testing/testHarness.ts:50
visibleCells?number | number[]Visible cell count. - number → uniform cells. - number[] → per-reel static shape (pyramid). Mutually exclusive with multiways (which always starts at maxCells).testing/testHarness.ts:19
weights?Record<string, number>-testing/testHarness.ts:26