DebugSnapshot
pixi-reels / index / DebugSnapshot
Interface: DebugSnapshot
Defined in: debug/debug.ts:16
Debug snapshot. plain JSON representation of the entire reel state.
Designed for AI agents that cannot see the canvas. Returns no PixiJS display objects, only serializable data.
Breaking note (since v0.3): visibleRows is now number[] (one entry
per reel) so jagged shapes (pyramids, MultiWays) are representable. For
uniform slots every entry is the same value. Adapt downstream code that
deep-reads the snapshot.
Properties
| Property | Type | Defined in |
|---|---|---|
availableSpeeds | string[] | debug/debug.ts:20 |
currentSpeed | string | debug/debug.ts:19 |
grid | string[][] | debug/debug.ts:25 |
isSpinning | boolean | debug/debug.ts:18 |
reelCount | number | debug/debug.ts:22 |
reels | DebugReelSnapshot[] | debug/debug.ts:24 |
spotlightActive | boolean | debug/debug.ts:21 |
timestamp | number | debug/debug.ts:17 |
visibleRows | number[] | debug/debug.ts:23 |