pixi-reels

API reference

DebugRound

pixi-reels


pixi-reels / debug / DebugRound

Defined in: debug/SpinMetrics.ts:60

A round: everything from one spin:start to the next. A cascade refill() emits spin:start too, so each refill is its own round, the same way the engine’s own events count it. A nudge at rest before any spin opens a round of its own (spin: false).

Properties#

PropertyTypeDescriptionDefined in
allLandedAtnumber | null-debug/SpinMetrics.ts:70
allStartedAtnumber | null-debug/SpinMetrics.ts:69
boostedbooleanskip:boosted: the first press switched to the fastest profile.debug/SpinMetrics.ts:79
cascadeChainsnumbercascade:chain:start count.debug/SpinMetrics.ts:86
completeAtnumber | null-debug/SpinMetrics.ts:71
durationnumber | nullSpinResult.duration, once spin:complete fires.debug/SpinMetrics.ts:73
eventsnumberEvents on the set bus and every reel bus this round.debug/SpinMetrics.ts:84
indexnumber1 for the first round this recorder saw.debug/SpinMetrics.ts:62
landOrdernumber[]Reel indices in the order they came to rest.debug/SpinMetrics.ts:82
lastActivityAtnumberLast time the round itself did something, ms since the round opened: its spin, phase and skip events, a win. A set event between rounds (a speed change, removeReels() before the next spin) is counted but does not stretch a round that has settled.debug/SpinMetrics.ts:95
profilestringSpeed profile active when the round opened.debug/SpinMetrics.ts:68
queuedSkipAtnumber | nullA requestSkip() that came before the result (skip:queued).debug/SpinMetrics.ts:77
reelsDebugReelRound[]-debug/SpinMetrics.ts:80
skipsDebugSkipMark[]-debug/SpinMetrics.ts:75
spinbooleanfalse when something other than spin:start opened the round.debug/SpinMetrics.ts:64
startedAtnumberThe recorder clock when the round opened. Every other time is relative to it.debug/SpinMetrics.ts:66
wasSkippedboolean-debug/SpinMetrics.ts:74
winsnumberwin:group count.debug/SpinMetrics.ts:88