CellPin
pixi-reels / index / CellPin
Interface: CellPin
Defined in: pins/CellPin.ts:42
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
col | readonly | number | Column (reel index) this pin is anchored to. | pins/CellPin.ts:44 |
migration | readonly | PinMigration | Migration policy across MultiWays reshapes. Default 'origin'. see PinMigration for semantics. | pins/CellPin.ts:62 |
originRow | readonly | number | Original 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? | public | Readonly<Record<string, unknown>> | Optional per-instance data: multiplier, value, tier. game-specific. | pins/CellPin.ts:71 |
row | readonly | number | Row (0 = top visible row) this pin is anchored to. | pins/CellPin.ts:46 |
symbolId | readonly | string | Symbol id this pin forces onto its cell. | pins/CellPin.ts:48 |
turns | readonly | number | "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 explicitly | pins/CellPin.ts:69 |