RouletteFrame
Since 0.7
What an item roulette shows at one moment: rouletteItem's answer.
Signature
export interface RouletteFrame {
/** The item to show now, or `null` when there are no items. */
name: string | null
/** Its index in `names`. */
index: number
/** The spin is over and `name` is the item won. */
landed: boolean
}
Import: import type { RouletteFrame } from "@argus/gameplay"
Members
| Member | Signature | Description |
|---|---|---|
name | name: string | null | The item to show now, or null when there are no items. |
index | index: number | Its index in names. |
landed | landed: boolean | The spin is over and name is the item won. |