pixi-reels

API reference

CueContext

pixi-reels


pixi-reels / index / CueContext

Defined in: audio/cues.ts:13

What a cue knows about the beat it fires on.

Properties#

PropertyTypeDescriptionDefined in
cell?numberThe cell on that reel, for a board beat.audio/cues.ts:23
hit?booleanA board cell landed a coin (true) or an empty (false).audio/cues.ts:29
mode?"standard" | "cascade"A reel set’s spin mode: 'standard', or 'cascade' for a tumble and its refills.audio/cues.ts:19
order?numberA teasing reel’s place in the tease sequence, 0-based.audio/cues.ts:25
profile?Readonly<SpeedProfile>The active speed profile itself (a reel set’s; a board has none).audio/cues.ts:17
reelIndex?numberThe reel the beat belongs to, when it belongs to one.audio/cues.ts:21
speedstringThe active speed profile’s name ('normal', 'turbo', …).audio/cues.ts:15
total?numberHow many reels tease this spin.audio/cues.ts:27