Reference Source
public class | source

Spin

Result of a wheel spin.

Constructor Summary

Public Constructor
public

constructor(slot: number, sectorNumber: number, sectorName: string, isCategory: boolean, clue: Clue, spinAgain: boolean)

Public Constructors

public constructor(slot: number, sectorNumber: number, sectorName: string, isCategory: boolean, clue: Clue, spinAgain: boolean) source

Params:

NameTypeAttributeDescription
slot number

wheel slot number where spin landed.

sectorNumber number

corresponding sector number located at slot.

sectorName string

corresponding sector name located at slot.

isCategory boolean

true if sector is category.

clue Clue

if isCategory is true and spinAgain is false, next clue in the category.

spinAgain boolean

true if category is complete.