RouletteOptions
Since 0.7
How long a spin lasts and how fast it starts.
Signature
export interface RouletteOptions {
/** Seconds from the start of the spin to the landing. Default 1.5. */
duration?: number
/** Seconds between the first flips, while the spin is fastest. Default 0.06. */
step?: number
}
Import: import type { RouletteOptions } from "@argus/gameplay"
Members
| Member | Signature | Description |
|---|---|---|
duration | duration?: number | Seconds from the start of the spin to the landing. Default 1.5. |
step | step?: number | Seconds between the first flips, while the spin is fastest. Default 0.06. |