Talos docs

RouletteOptions

Since 0.7

How long a spin lasts and how fast it starts.

Plain text

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

MemberSignatureDescription
durationduration?: numberSeconds from the start of the spin to the landing. Default 1.5.
stepstep?: numberSeconds between the first flips, while the spin is fastest. Default 0.06.