PR pixi-reels

CellPin

pixi-reels


pixi-reels / index / CellPin

Interface: CellPin

Defined in: pins/CellPin.ts:42

Properties

PropertyModifierTypeDescriptionDefined in
colreadonlynumberColumn (reel index) this pin is anchored to.pins/CellPin.ts:44
migrationreadonlyPinMigrationMigration policy across MultiWays reshapes. Default 'origin'. see PinMigration for semantics.pins/CellPin.ts:62
originRowreadonlynumberOriginal row at pin creation. The pin migrates back toward this value across MultiWays reshapes when migration === 'origin' (the default). For migration === 'frozen' this is updated on every clamp so the pin never restores to a higher row. Non-MultiWays: equals row and never changes.pins/CellPin.ts:57
payload?publicReadonly<Record<string, unknown>>Optional per-instance data: multiplier, value, tier. game-specific.pins/CellPin.ts:71
rowreadonlynumberRow (0 = top visible row) this pin is anchored to.pins/CellPin.ts:46
symbolIdreadonlystringSymbol id this pin forces onto its cell.pins/CellPin.ts:48
turnsreadonlynumber | "eval" | "permanent"Lifetime of the pin: - number → counts down after each completed spin; removed at 0 - ‘eval’ → valid for one spin only; cleared at the next spin start - ‘permanent’ → persists until unpin() is called explicitlypins/CellPin.ts:69