Interface DiceManagerSettings

Hierarchy

  • DiceManagerSettings

Properties

animationManager?: AnimationManager

The animation manager used in the game. If not provided, a new one will be instanciated for this die manager. Useful if you use AnimationManager outside of dice manager, to avoid double instanciation.

dieTypes?: {
    [dieType: number | string]: BgaDieType;
}

Type declaration

perspective?: number

Perspective effect on Stock elements. Default 1000px. Can be overriden on each stock.

selectableDieClass?: string

The class to apply to selectable dice. Default 'bga-dice_selectable-die'.

selectedDieClass?: string

The class to apply to selected dice. Default 'bga-dice_selected-die'.

unselectableDieClass?: string

The class to apply to selectable dice. Default 'bga-dice_disabled-die'.

Generated using TypeDoc